View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

FILEPOSSTART - Metadata

Returns the starting position of the document, within the file.

Output

Number: The starting position of the document

Usage

FILEPOSSTART()

Examples

Example 1

Input Document

{"doc1":1} 
{"doc2":2}

Query

LOAD tmp
AS ('': FILEPOSSTART())

Result

0
10