DeltaQueryResult#

class polars_nanook.DeltaQueryResult(
result: QueryInfo,
status: QueryStatus,
dst: DstT,
query: DirectQuery | None = None,
)

The result of a Polars Nanook query that wrote to a Delta Lake table.

location is the table’s URI, and lazy() scans the table at the version the query created.

Note

This object should not be instantiated directly by the user.

Attributes:

version

The table version that the query created.

Methods:

lazy

Scan the table at the version the query created.

property version: int | None

The table version that the query created.

This is None when the query created no version, e.g. with mode="ignore" on a table that exists.

lazy() → LazyFrame

Scan the table at the version the query created.

The table is read with the query’s storage_options. Without a version, this scans the table’s latest version.