TL;DR
Polars says version 2.0 makes its streaming engine the default for LazyFrame collection and enables initial spill-to-disk support. The release also adds a Map dtype and broader SQL support; benchmark results cited by Polars are vendor-run and carry workload and hardware caveats.
Polars has released version 2.0, making its streaming engine the default when users collect a LazyFrame and enabling initial spill-to-disk processing. The changes affect query execution and row-order behavior, while the release also expands SQL support and adds a dedicated Map data type.
Get the latest gadgets delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
According to the release post, calling collect on a LazyFrame now uses the streaming engine by default. Polars says this can improve memory use and performance on many queries, but warns that some operations—including joins, group-bys and unpivots—do not guarantee observable row order under the default behavior. Users who need that order can request it with maintain_order=True.
Version 2.0 also enables an initial form of out-of-core execution: supported operations, including sorts, window functions and some expressions, can spill data to disk when memory use reaches roughly 80% of RAM. The default disk budget is 64 GB, according to Polars. Join and group-by spill support is not yet available, though the project says it plans to add it.
The release introduces a native Map dtype for Arrow MapType data, with dictionary-like operations such as key lookup, checking for a key, and retrieving keys or values. Polars also describes SQL as a first-class interface in 2.0, citing optimizer and engine work such as join reordering, common-subplan elimination and dynamic predicates or bloom filters.
Changes to Query Execution
The default streaming behavior and disk spilling address a practical problem for data users: queries can demand more memory than a machine has available. With supported operations able to spill, some workloads may be more resilient to memory pressure rather than failing immediately. The benefit is not universal, because the current out-of-core coverage excludes joins and group-bys, two operations common in analytical queries.
The row-order change also has consequences for existing workflows. Code that relies on the previous visible order after a join, group-by or unpivot may need to set maintain_order=True and account for the associated execution choice. Teams upgrading should check whether their results depend on incidental ordering, rather than assuming the new default preserves it.
For SQL users, the expanded interface and reported performance work could make Polars relevant to a wider set of analytics workloads. But comparative performance depends on query mix, data, hardware and settings; the release’s benchmark results are not an independent evaluation.
Popular right now

Breville Bambino Espresso Machine, Brushed Stainless Steel (BES450BSS)

Breville Barista Pro Espresso Machine with Grinder, Brushed Stainless Steel

Roborock Qrevo 2 Pro Robot Vacuum and Mop with 20,000 Pa Suction
As an affiliate, we earn on qualifying purchases.
SQL Benchmarks and Release Scope
Polars says it compared its SQL engine with DuckDB 1.5.6, DuckDB 2.0 alpha and DataFusion 54.0.0 using data derived from TPC-H and TPC-DS. Tests ran on two AWS machine types, one with 16 vCPUs and 32 GB of RAM and another with 192 vCPUs and 384 GB. Each query ran five times in a hot setting, with a 60-second timeout; the report says the best of five runs was used for comparisons.
Polars reports that its default configuration was fastest on all but one benchmark in its tests, while noting a scaling overhead on the 192-thread machine that hurt smaller queries. The company says a configuration limited to 32 cores was competitive or faster across the benchmarks. DataFusion timed out on one TPC-DS query, timed out once on another, and ran out of memory on a TPC-H query on the smaller machine; those affected queries were excluded from results for all engines. Polars has published a repository for reproducing its tests.
The project characterizes 2.0 as a version bump driven in part by the behavioral change in streaming execution, rather than as a release intended solely to add features. Its stated highlights combine that execution change with performance work, SQL support, the Map dtype and stricter handling of dtypes and explicitness.
“Calling collect on a LazyFrame will now default to the streaming engine.”
— Polars, in its version 2.0 release post
Limits of Current Evidence
The supplied release material does not state a calendar publication date, and it does not provide independent validation of the performance claims. The benchmark findings are Polars’ own, and the source notes that performance varied with machine size: high thread counts introduced overhead for smaller queries. Results may differ on other data, hardware or configurations.
It is also not clear from the provided material how much memory or runtime improvement users should expect across particular workloads. Spill-to-disk currently covers only a stated subset of operations, and the approximate 80% RAM threshold may need tuning. The release post does not quantify the cost of preserving order with maintain_order=True or specify when join and group-by spilling will arrive.
Broader Spill Support Ahead
Polars says it plans to extend out-of-core execution to joins and group-bys, which would broaden the workloads able to spill when memory is constrained. The release post gives no schedule for that work. It also says the team has diagnosed the large-machine scaling overhead and hopes to address it in a later release, without naming a version or date.
In the meantime, users can review the version 2.0 behavior changes, test order-sensitive queries, and compare performance on their own workloads. Polars has shared its benchmark repository for readers who want to reproduce the reported SQL comparisons.
Key Questions
What changed in Polars 2.0?
The main execution change is that collecting a LazyFrame defaults to the streaming engine. The release also enables initial spill-to-disk support, expands SQL features and adds a native Map dtype.
Does Polars 2.0 preserve row order for every operation?
No. Polars says the streaming engine does not guarantee observable row order by default for some operations, including joins, group-bys and unpivots. Users who require order can set maintain_order=True.
Which operations can currently spill to disk?
The release identifies sorts, window functions and many expressions as supported. It says joins and group-bys are not yet supported for out-of-core execution, with those operations on the roadmap.
Are the performance comparisons independent?
No independent testing is described in the supplied material. The results come from Polars’ own benchmark tests against DuckDB and DataFusion on specified hardware and TPC-H- and TPC-DS-derived data.
Source: hn
