Polars 2.2 ships out-of-core joins, SQL DML and Iceberg writes with 111 performance PRs
calabi_and_yau · x · 2026-11-25
Polars 2.2 is out with several headline features:
- Out-of-core joins: when the build side doesn't fit in memory, Polars spills it to disk and finishes the query
- SQL DML on registered tables: INSERT, UPDATE, DELETE, plus COPY for loading/exporting files
- More SQL: views, macros, query parameters and PIVOT
- Iceberg from SQL: write, merge, alter, time-travel and compact tables in attached catalogs
- scandatabase: lazily read database tables/queries with filter and projection pushdown
- 111 performance PRs speeding up joins, group-bys and Parquet reads
The release notes flag six breaking changes to review before upgrading, including str.find now returning character offsets, scalar-only plan-time arguments, SQL DELETE actually mutating registered tables, stricter aggregation behavior across dtypes, and Int64 returns from SQL string/date functions. Upgrade with pip install -U polars.
More from coding & agent
- GPT-6.2 billing tip: put system prompt in session.initial_items, not instructions, to cut costs — pbbakkum · 2026-11-25
- Professor rewrites numerical methods course for the agentic era, centering spec & verification — DynamicWebPaige · 2026-11-25
- PrismML releases Ternary Bonsai 2.5 27B: 5.9GB ternary model scores 75.6 on SWE-Bench — victormustar · 2026-11-25
- Reddit project gives AI agents a Pi, sudo and a republic: Nexus Forge — defendthewrong · 2026-11-25
- deepfates Calls for a Deep Review of Agent Memory System Designs, Citing Connectome and Letta — PeterBowdenLive · 2026-11-25
- Claude Can Now Build and Share Mac & Windows Apps With No Coding Skills — felixrieseberg · 2026-11-25