polars_cloud.ExecuteRemote#
- class polars_cloud.ExecuteRemote(
- lf: LazyFrame,
- context: ComputeContext | None,
- plan_type: PlanTypePreference,
- n_retries: int,
- engine: Engine,
- labels: list[str] | None,
- shuffle_compression: ShuffleCompression = 'auto',
- shuffle_format: ShuffleFormat = 'auto',
- shuffle_compression_level: int | None = None,
- distributed_settings: DistributionSettings | None = None,
The namespace accessed by choosing a remote execution method in a
LazyFrameRemote.- __init__(
- lf: LazyFrame,
- context: ComputeContext | None,
- plan_type: PlanTypePreference,
- n_retries: int,
- engine: Engine,
- labels: list[str] | None,
- shuffle_compression: ShuffleCompression = 'auto',
- shuffle_format: ShuffleFormat = 'auto',
- shuffle_compression_level: int | None = None,
- distributed_settings: DistributionSettings | None = None,
Methods
__init__(lf, context, plan_type, n_retries, ...)Start executing the query and store a temporary result.
execute()Start executing the query and store an intermediate result.
show([n])Start executing the query return the first
nrows.sink_csv(uri, *[, include_bom, ...])Start executing the query and write the result to csv.
sink_ipc(uri, *[, compression, ...])Start executing the query and write the result to ipc.
sink_parquet(uri, *[, compression, ...])Start executing the query and write the result to parquet.