input_file_block_length function

Returns the length in bytes of the block being read.

Syntax

input_file_block_length()

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_length();
 -1