polars_cloud.LazyFrameExt.collect#
- LazyFrameExt.collect() LazyFrame #
Start executing the query and store a temporary result.
Collect 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().await_result().lazy()
Examples
>>> query.remote(ctx).collect() 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-..]