polars_cloud.ExecuteRemote.await_and_scan#

ExecuteRemote.await_and_scan(
*,
silent: bool | None = None,
) LazyFrame#

Start executing the query and store a temporary result.

This will immediately block this thread and wait for a successful result. It will immediately turn the result into a LazyFrame.

This is syntactic sugar for:

.execute().lazy()

Parameters:
silent

Don’t print to stdout during blocking execution.

Examples

>>> query.remote(ctx).await_and_scan()
NAIVE QUERY PLAN
run LazyFrame.show_graph() to see the optimized version
Parquet SCAN [https://s3.eu-west-1.amazonaws.com/polars-cloud-xxxxxxx-xxxx-..]