Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Introducing Polars on-premises - Polars user guide
[go: Go Back, main page]

Skip to content

Introducing Polars on-premises

Interested in running Polars on-premises? Sign up here to apply.

After installing Polars on-premises either on bare-metal or on Kubernetes, you can connect to your cluster using the Polars Cloud Python client.

import polars as pl
import polars_cloud as pc

# Connect to your Polars on-premises cluster
ctx = pc.ClusterContext(compute_address="your-cluster-compute-address", insecure=True)
query = (
    pl.LazyFrame()
    .with_columns(a=pl.arange(0, 100000000).sum())
    .remote(ctx)
    .distributed()
    .execute()
)
print(query.await_result())