ClusterInfo#
- class polars_nanook.ClusterInfo
Static information about a compute cluster.
Attributes:
anonymous_result_locationDirectory where results of queries without an explicit sink are written.
versionsVersions of the compute plane components.
allow_local_sinksWhether queries may write to the cluster's local filesystem.
allow_local_scansWhether queries may read from the cluster's local filesystem.
max_workers_per_queryMost workers a single query can use,
Noneif unlimited.default_workers_per_queryWorkers a query uses when it doesn't set a number of workers.
- property anonymous_result_location: str | None
Directory where results of queries without an explicit sink are written.
This is the cluster’s
scheduler.anonymous_result_locationsetting as a URL ending in/, e.g.s3://bucket/query_outputs/. Each query writes its result to<anonymous_result_location><query_id>/.Noneif the cluster has no such location configured.
- property versions: ComputeVersions
Versions of the compute plane components.
- property allow_local_sinks: bool
Whether queries may write to the cluster’s local filesystem.
- property allow_local_scans: bool
Whether queries may read from the cluster’s local filesystem.
- class polars_nanook.ComputeVersions
Versions of the compute plane components.
Attributes:
compute_plane_versionVersion of the compute plane.
polars_python_versionVersion of the Polars Python package on the cluster.
polars_rust_revisionGit revision of the Polars Rust crates on the cluster.
- property compute_plane_version: str
Version of the compute plane.
- property polars_python_version: str
Version of the Polars Python package on the cluster.
- property polars_rust_revision: str
Git revision of the Polars Rust crates on the cluster.