r/datascience • u/rhiever • Oct 09 '26
Tools Polars 2.0 released with the streaming engine, out-of-core processing and first-class SQL support
https://pola.rs/posts/release-polars-2/
274
Upvotes
80
u/jesunushno Oct 09 '26
I've always hated maintaining two code paths: one for data that fits in memory, one for the stuff that doesn't. If the streaming engine means I write the same query for both, that's the upgrade I actually want.
29
u/OddsRelay Oct 09 '26
out of core is the bit i care about. i used to drop into duckdb any time a group_by didn't fit in ram, so if that just works now it's one less tool. curious how the sql side stacks up against duckdb's
10
u/OddsRelay Oct 10 '26
Streaming as the default is the big change. A lot of the "doesn't fit in memory" jobs that used to mean Spark or chunking by hand should just run on a laptop now. First class SQL also makes it easier to hand work over to people who don't write Python.
5
u/MackDriver0 Oct 09 '26
So cool. Can’t wait to try out SQL
2
u/ScoutsEatTheirYoung Oct 09 '26
Map dtype looks cool
-5
u/mantequilla69420 Oct 09 '26
Woah, don't you guys just write shit notebooks and kick it to a data engineer?
-7
u/Cold_Bag_8877 Oct 10 '26
how to get karma pls help me