Polars 2.0 makes streaming the default and adds spill-to-disk queries

The Amsterdam-based Polars says initial disk spilling covers sorting, window functions and many expressions; joins and group-bys remain in-memory.

By · Published

Primary source: Polars

Why it matters

Polars 2.0 sets streaming as the default, a change meant to make memory-efficient execution the ordinary path, and adds limited spill-to-disk support as Vink works to extend one DataFrame API toward larger production queries. Developers also need to handle row order explicitly, while joins and group-bys still cannot spill to disk.

Ritchie Vink, who started Polars as an open-source project in 2020, has made the library's streaming engine the default in Polars 2.0, released on October 6th. The change is meant to make memory-efficient execution the ordinary path for users, while initial spill-to-disk support lets some queries continue when data no longer fits in RAM.…

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Reader comments

Conversation for this story loads after sign-in.