polars_cloud.ExecuteRemote.execute#

ExecuteRemote.execute(
optimizations: QueryOptFlags = <polars.lazyframe.opt_flags.QueryOptFlags object>,
) DirectQuery | ProxyQuery#

Start executing the query and store an intermediate result.

This is useful for direct connect workloads to cache the results of a query.

Parameters:
optimizations

The optimization passes done during query optimization.

See also

await_and_scan

Start executing the query and store a temporary result.

Examples

>>> result = query.remote(ctx).execute().await_result()
>>> intermediate_lf = result.lazy()