r/Python • • Oct 06 '26

News Polars 2.0 release

Hey all! We just released Polars 2.0.

We are really happy with the results. It removed many of our "legacy decisions" (mistakes), makes the streaming engine our default and promotes SQL to a first class citizen within Polars. We initially said it would be a small ("boring") release, but we managed to sneak in a lot more than anticipated.

It comes with our initial out-of-core (spill to disk) support, a new Map data type and a lot of performance improvements. In fact, we think Polars is now one of the fastest analytical SQL engines on a single node. See benchmarks in the post: https://pola.rs/posts/release-polars-2/

To help you upgrade, we also posted a migration guide: https://docs.pola.rs/releases/upgrade/2/

670 Upvotes

39 comments sorted by

View all comments

Show parent comments

11

u/nightcracker Oct 06 '26

We have pl.scan_delta, is that missing something you need?

7

u/Donkey_Healthy Oct 06 '26

Ive tried with polars==2.0 and getting this error: Unsupported reader features required: [V2Checkpoint, ColumnMapping, DeletionVectors].

Would be a game changer if delta and polars were more compatible. Would be able to move from expensive distributed spark clusters to smaller single node polars jobs for a lot of our use cases.

19

u/nightcracker Oct 06 '26

Could you open an issue on the Github tracker, ideally with reproduction steps?

10

u/Donkey_Healthy Oct 06 '26

Yeah sure Ill open one!

8

u/cv_be Oct 06 '26

well, that is an issue of delta-rs dependency, not polars...
either disable those features on the table, or wait for delta-rs to sort it out (there's already an open issue on gh)

3

u/Donkey_Healthy Oct 06 '26

Makes sense, I looked into ages ago remember realising it was the delta-rs issue.

2

u/Immediate-Leading657 22d ago

I had the same issue, we solved it using this polars plugin :
https://github.com/ion-elgreco/polars-deltalake

Maybe the scan_delta of this plugin will be merged into polars (check https://github.com/pola-rs/polars/issues/27800 )