View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

FILENAME - Metadata

Returns the filename (with full path), or “[PROJECTION]” if the document was projected

Output

String: The name of the file

Usage

FILENAME()

Examples

Example 1

Query

LOAD tmp
AS ('': FILENAME())

Result

"tmp.json"