IcebergQueryResult#
- class polars_nanook.IcebergQueryResult(
- result: QueryInfo,
- status: QueryStatus,
- dst: DstT,
- query: DirectQuery | None = None,
The result of a Polars Nanook query that wrote to an Iceberg table.
locationis the table’s identifier, andlazy()scans the table at the snapshot the query created.Note
This object should not be instantiated directly by the user.
Attributes:
snapshot_idThe id of the table snapshot that the query created.
Methods:
lazyScan the table at the snapshot the query created.
- property snapshot_id: int | None
The id of the table snapshot that the query created.
This is None when the query created no snapshot, or when that snapshot has expired.
- lazy() LazyFrame
Scan the table at the snapshot the query created.
The table is loaded with the query’s
catalogandstorage_options. Without a snapshot id, this scans the table’s current snapshot.