input_file_block_start function (Databricks SQL)

Returns the start offset in bytes of the block being read.

Syntax

input_file_block_start()

Arguments

This function takes no arguments.

Returns

A BIGINT.

If the information is not available -1 is returned.

The function is non-deterministic.

Examples

> SELECT input_file_block_start();
 -1