🏆 Highlights
- Out-of-core joins (#30679)
💥 Breaking changes
- Add Expr.bin.find(_many), and return char offsets in Expr.str.find(_many) (#31026)
- Require scalar function arguments at plan time (#30914)
- Make SQL
DELETEchange the registered table in aSQLContext(#30869)
🚀 Performance improvements
- Parallel streaming cumulative aggregations (#31062)
- Properly assign
Timestampunit on ingest (#29699) - Optimize single-char strip (#31052)
- Add null-equal join support to SQL (#31049)
- Drop the entries of null Map rows without memory per entry (#31014)
- Don't publish join runtime filters to scans too small to skip much (#31025)
- Compare dictionary codes with one code when a single dictionary value matches (#31023)
- Probe ordered streaming joins sync and build one table for small build sides (#31019)
- Avoid redundant dictionary scans and byte-array copies in Parquet writes (#30982)
- Cache plugin symbol lookups (#31013)
- Use the rolling kernels on chunked input in window aggregations (#30472)
- Abandon stalled cloud reads after a stall timeout (#30966)
- Drop unused projections in join (#30740)
- Skip files by predicates on the
include_file_pathscolumn (#30802) - Run the SQL lambda resolver through dynamic dispatch (#30930)
- Skip key deduplication when materializing a scalar Map (#30862)
- Don't generate the run reduction for order-dependent reducers (#30929)
- Compare columns through one non-generic function (#30931)
- Skip row groups for
is_inwith an implodedSeries(#30925) - Drop unused projections in sort (#30739)
- Store 128-bit group-by keys next to the hash table instead of in it (#30830)
- Reduce runs of consecutive rows of one group as slices in streaming group-by (#30813)
- Skip the hot table for runs of equal dictionary codes in streaming group-by (#30812)
- Keep the probe columns as is in streaming joins on unique build keys (#30807)
- Reduce runs of equal groups locally in sum, mean, min and max (#30808)
- Keep parquet dictionary-encoded String columns as
Column::Dictionary(#30522) - Skip repeated values of a group in streaming unique and n_unique (#30804)
- Handle nulls in horizontal min/max without a per-type option kernel (#30806)
- Reuse the hash table lookup for runs of equal string keys in join probes (#30803)
- Pushdown filters on the
include_file_pathscolumn (#30785) - Skip hashing and hot table lookups for runs of equal string keys (#30794)
- Compute rolling_*_by windows outside the generic aggregation (#30795)
- Build dictionaries in casts with u32 or u64 keys (#30790)
- Compute date parts with integer arithmetic (#30777)
- Read IPC buffers through a reader trait object (#30772)
- Rewrite
get(arg_max())tomax_by(#30773) - Gather string views before translating their buffers (#30766)
- Run parallel quantile selection on integer keys (#30761)
- Select quantile order statistics in parallel (#30570)
- Use exact integer ranges of large parquet files for packed keys (#30717)
- Pack multi-column join and group-by keys into fixed-width integers (#30708)
- Compute quantiles and quantile/rank bins by selection instead of sorting (#30569)
- Skip the probe side of joins without non-null build keys (#30692)
- Search sorted numeric slices with branchless binary searches (#30568)
- Optimise decoding of small Parquet
StringandBinarycolumns (#30632) - Vectorize Decimal mean and sum reductions (#30704)
- Use estimated rows to choose the build side of streaming equi joins (#30681)
- Out-of-core joins (#30679)
- Move inner and semi/anti joins below left joins in more cases (#30694)
- Let null-rejecting string predicates downgrade outer joins (#30693)
- Use column equalities between joined inputs as join keys when reordering joins (#30680)
- Prune unused struct fields in projection pushdown (#30598)
- Implement more fold iterators (#30670)
- Count distinct join keys of in-memory frames for join estimates (#30667)
- Evaluate conditions reading both inputs inside outer equi joins (#30654)
- Use the streaming group-by for
value_countswithsortornormalize(#30636) - Pass plan statistics through row index nodes (#30658)
- Keep statistics of passed-through columns next to a computed column in a select (#30660)
- Use an exact bitset as runtime filter for integer join keys in a small range (#30662)
- Estimate the sizes of streaming group-by results in parallel (#30661)
- Use a hash join for outer joins on an equality and a condition on one input (#30651)
- Parse CSV columns at a time over a mask based field index (#30639)
- Let local Parquet scans grow their prefetch window (#30640)
- Speed up inline binary view construction for short strings (#30628)
- Add dedicated kernel for
concat_list(#30604) - Improve TrueIdxIter and use in IEJoin (#30612)
- Always inline CSV field splitting (#30626)
- Build inline binary views without a memcpy call (#30609)
- Decrease threshold for parallel column decoding for Parquet (#30610)
- Let the scan pipeline window follow the in-flight byte budget (#30098)
- Let the cloud read rate limiter follow demand (#30102)
- Optimise decoding of Parquet
Struct,Map,ArrayandListrows (#30601) - Admit parked cloud reads in issue order (#29982)
- Reuse CSV field end masks for unquoted fields (#30597)
- Probe in-flight byte budget for cloud reads (#29766)
- Increase prefetch window for ordered Parquet and IPC scans (#29728)
- Avoid rescanning null runs in the streaming merge-join (#30575)
- Make the streaming equi-join build side fully spillable (#30558)
- Ingest approx-quantile items per chunk (#30516)
- Optimise
DataType::eqcomparison (#30557) - Rewrite filters on the first row number of unordered windows into a group-by (#30509)
- Add memory grant system and use in group_by (#30524)
- Estimate horizontal concatenations so the joins above them can be reordered (#30539)
- Evaluate fused group-by inputs per partition instead of per loaded batch (#30508)
- Evaluate SQL subqueries correlated only by inequalities once per distinct outer value (#30511)
- Don't treat SQL decimal multiplication as fallible in the optimizer (#30510)
- Merge streaming min_by/max_by aggregations that share a key and store short keys inline (#30507)
- Store rows once in unordered streaming windows under memory pressure (#30496)
- Let SQL window functions reorder rows when only the result observes the order (#30494)
- Split streaming merge join windows in linear time (#30474)
- Share the item count between parallel KLL sketches (#30381)
- Fix count-only projection pushdown through
LazyFrameResolver(#30445) - Mark Expr.replace with literal as elementwise (#30430)
- Scan CSV fields once for the default line terminators (#30414)
- Start hot table even smaller with rapid growth (#30384)
- Copy short runs in filter instead of slicing the whole array (#30406)
- Count pre-aggregates in memory when choosing the number of streaming group-by partitions (#30405)
- Add fixed-size row encoding layouts (#30379)
- Lower
int_range(0, pl.len())of any wide integer dtype to a row index in streaming (#30376) - Build the left side of semi and anti joins when the right side references its unique keys (#30373)
- Make
cum_sum_horizontala native element-wise expression (#30341) - Trim leading and trailing
.*fromstr.containsregexes (#30261) - Broadcast per-group scalars for small groups in
aggandover(#30343) - Don't expand a single-row Series literal per group (#30308)
- Make is_in row-group pruning exact for any haystack size (#29923)
- Reserve less memory in streaming sort (#30314)
- Improve DirtyHash for 128-bit integers (#30320)
- Compare integer columns to float literals and
dt.year()to date bounds (#30311) - Use row estimates for semi and anti joins when both sides exceed the sample (#30307)
- Calculate describe() quantiles without sort (#30244)
- Optimize
rolling_minandrolling_maxwith a van Herk block scan (#29445)
✨ Enhancements
- Support SQL window frames that end before the current row (#31022)
- List the options of SQL
COPYwhen one is not known (#31015) - Geoparquet bbox covering (#30737)
- Support SQL
UNNEST ... WITH ORDINALITY(#31017) - Support SQL
REGEXP_SUBSTR,JSON_EXTRACT_PATHandJSON_EXTRACT_PATH_TEXT(#31003) - Support SQL
SHOW FUNCTIONS(#31002) - Release free-threaded Python wheels using the stable ABI (#30861)
- Support SQL
COPY <table> FROM '<file>'on registered tables (#30975) - Support SQL
CALL add_fileson attached Iceberg catalog tables (#30974) - Support
empty_string_is_nullin SQLread_csv(#30959) - Support SQL
INSERTandUPDATEon registered tables (#30958) - Support a pattern per row in
str.replaceandstr.replace_all(#30950) - Support SQL tags and branches on attached Iceberg catalog tables (#30888)
- Support offsets in SQL RANGE window frames (#30849)
- Read a NULL literal as a string in SQL string functions (#30848)
- Add format specifications to
pl.formatand SQLPRINTFandFORMAT(#30835) - Report cloud read stats in the in-flight concurrency log (#30900)
- Support expressions in SQL VALUES rows (#30846)
- Support SQL macros (#30852)
- Serializable Parquet encryption and decryption properties (#30816)
- Allow SQL lambdas to read the columns of the row (#30876)
- Allow reading columns in list.eval, arr.eval and cumulative_eval (#30875)
- Add
scan_database(#30331) - Support COPY ... TO '<file>' in SQL (#30834)
- Support CALL rewrite_data_files (compaction) on Iceberg catalog tables in SQL (#30856)
- Support query parameters in SQL (#30840)
- Support CALL rewrite_manifests on Iceberg catalog tables in SQL (#30837)
- Support escape string literals in SQL (#30845)
- Support JSON operators after a JSON cast in SQL (#30844)
- Use purge-before-grow dirty page strategy in jemalloc for OOC (#30749)
- Support TRY_STRPTIME in SQL (#30829)
- Add
str.from_code_pointand SQLCHR(#30826) - Support MAKE_DATE in SQL (#30828)
- Add option to turn off file reads in SQLContext (#30825)
- Quoted file paths in FROM and DESCRIBE (#30815)
- Support SELECT alias reuse, information_schema.columns and TO_TIMESTAMP on numbers in SQL (#30819)
- Support &[Column] as signature in expression plugins (#30720)
- Support TO_CHAR, TO_DATE, TO_TIMESTAMP, TYPEOF, REGEXP_MATCHES and JSON text access in SQL (#30809)
- Support struct and map literals in SQL (#30800)
- CAST to categorical, enum and named time zones (#30801)
- Support PIVOT, UNPIVOT and POSITIONAL JOIN in SQL (#30799)
- Support
Mapcolumns in Iceberg tables created by Polars (#30797) - Support SQL sort order changes on attached Iceberg catalog tables (#30788)
- Support CREATE VIEW, DROP VIEW and DESCRIBE in SQL (#30778)
- Support struct fields as partition sources in SQL
PARTITION BYandSET PARTITIONED BY(#30775) - Support SQL partition evolution on attached Iceberg catalog tables (#30756)
- Support comma-separated LATERAL joins and aggregates without GROUP BY in SQL LATERAL derived tables (#30768)
- Support SQL time travel on attached Iceberg catalog tables (#30751)
- Support BOOL_AND, BOOL_OR, ANY_VALUE, COUNT_IF, MAX_BY, MIN_BY, APPROX_COUNT_DISTINCT and REGEXP_EXTRACT in SQL (#30763)
- Write Delta tables with the native Parquet sink (#30721)
- Enable specifying catalog by name (#30620)
- Geoparquet bbox metadata (#30736)
- Allow plugins to report higher FFI minor versions (#30709)
- Read Iceberg metadata tables in SQL (
lake.ns.t$snapshots) (#30697) - Answer min, max and counts over an Iceberg scan from manifest statistics (#30690)
- Prune unused struct fields in projection pushdown (#30598)
- Support SQL
MERGE INTOon attached Iceberg catalog tables (#30633) - Add
schemaparameter toExpr.metaproperties (#30613) - Add better Expr error messages DSL -> IR conversion (#30592)
- Support SQL
UPDATEon attached Iceberg catalog tables (#30603) - Allow using a KMS for Parquet encryption (#30359)
- Support SQL DELETE on attached Iceberg catalog tables (#30530)
- Support SQL ANY/ALL comparisons with a correlated subquery in WHERE (#30490)
- Support SQL row values in IN (subquery) (#30489)
- Support constant SQL GROUP BY keys (#30487)
- Support SQL typed literals of numeric and string types (#30486)
- Support SQL
TRUNCATEon attached Iceberg catalog tables (#30477) - Support more SQL subqueries that read a query two levels out (#30484)
- Support SQL REPEAT, CARDINALITY and ARRAY_LENGTH with a dimension (#30480)
- Support SQL derived tables that read the relations joined before them (LATERAL) (#30467)
- Support SQL
INSERT INTOandINSERT OVERWRITEon attached Iceberg catalog tables (#30463) - Support correlated SQL EXISTS with HAVING or with outer-only subquery conditions (#30466)
- Support LIMIT and outer ORDER BY keys in correlated SQL subqueries (#30459)
- Support correlated SQL subqueries with GROUP BY (#30453)
- Support SQL RANDOM() (#30444)
- Expose
row_encodein the IR visitor (#30446) - Add small integer support to NDJSON (#30424)
- Support SQL
ALTER TABLEon attached Iceberg catalog tables (#30436) - Support SQL subqueries whose SELECT item reads only columns of the outer query (#30438)
- Support SQL PERCENTILE_CONT and PERCENTILE_DISC with WITHIN GROUP (#30442)
- Support SQL
CREATE SCHEMAandDROP SCHEMAon attached Iceberg catalogs (#30418) - Support SQL LIMIT, OFFSET and FETCH values given by expressions such as scalar subqueries (#30425)
- Support SQL JOIN ON equalities with an operand that reads both inputs (#30417)
- Support
PARTITION BYin SQLCREATE TABLEfor Iceberg catalog tables (#30403) - Support SQL JOIN ON subqueries that read both inputs (#30411)
- Compare SQL join keys of different numeric types in a common type (#30401)
- Support subqueries over the inner relations in the WHERE of SQL correlated subqueries (#30382)
- Support any condition on outer columns in SQL correlated subqueries (#30378)
- Support SQL LIKE patterns that are not string literals (#30372)
- Support SQL LIKE patterns of the form '%' || expr || '%' (#30364)
- More accurate rolling co-moments (#30347)
- Support more dtypes in
approx_quantile(#30318) - Support SQL
CREATE TABLE ... AS SELECTin attached Iceberg catalogs (#30267) - Support SQL subqueries that read a query further out than the one around them (#30336)
🐞 Bug fixes
- Allow a derived table in a correlated scalar SQL subquery to read the outer row (#31063)
- Compile polars-sql without the semi_anti_join feature (#31061)
- Properly assign
Timestampunit on ingest (#29699) - Allow deeper nesting in SQL and report the parser's recursion limit instead of a syntax error (#31060)
- Numpy array index overflow (#31046)
- Streaming window over literal giving 0 rows (#31048)
- Cast SQL join keys of a date and a timestamp, or of different time units, to their common type (#31053)
- Allow a correlated SQL
INwhose subquery selects a constant or repeats a key name (#31056) - Build polars-sql without the
semi_anti_joinfeature (#31055) - Support INTERVAL expression steps in SQL
generate_seriesandrange(#31054) - Allow SQL
GROUP BYon several constant expressions (#31045) - Raise on length mismatch between indices and values in
Series.scatter(#30864) - Allow a SQL join condition to compare a column with two constants (#31040)
- Leave the string unchanged for an empty pattern in SQL
REPLACE(#31039) - Return null for a null
quantilefraction (#31027) - Sum a negative constant expression in SQL
SUM(#31031) - Take the SQL
USINGkey from either side of aFULLorRIGHTjoin (#31030) - Refuse files in Iceberg
add_filesthat a scan of the table cannot read (#31029) - Add Expr.bin.find(_many), and return char offsets in Expr.str.find(_many) (#31026)
- Report the failing object path in object-store errors (#29450)
- Align all quantile input validation (#30770)
- Race condition in spill token waiters bit (#31021)
- Fix
scan_databaseissues when scanning from BigQuery (#31009) - Show unsupported SQL as written in errors, not as a parser structure (#31016)
- Invalid UTF-8 left unescaped after quote removal (#31018)
- Reject an aggregate in a SQL
WHERE(#31004) - Check Arrow temporal dictionary overflow on import (#31011)
- Support trino
ROWvalues inread_database(#30659) - Split parquet pages by byte size for variable-length columns (#30653)
- Use exact join column mapping in projection and predicate pushdown (#30330)
- Keep the value type of chunked Arrow dictionaries in
from_arrow(#30917) - Fix scan_database issues (#30910)
- Export Map columns with more than i32::MAX entries as several Arrow arrays (#30865)
- Return no rows from SQL
UNNESTof an empty or NULL list (#30996) - Cast values to the column dtype in
scatterand__setitem__(#30908) - Compute a SQL
INSERTorDELETEthat reads its own table when it runs (#30989) - Convert nested
month_day_nano_intervalarrays on import (#30954) - Partition scan_database sources only when proven to return the same rows twice (#30957)
- Normalize Windows paths in Iceberg add_files (#30990)
- Plan scan_database filters by what the database does and type columns by what they hold (#30956)
- Own the connections scan_database reads and check the relations it planned (#30955)
- Verify a sliced external scan's row count by reading to the end of the rows (#30961)
- Draw SQL
RANDOM()once inLIMITandOFFSET(#30944) - Require scalar function arguments at plan time (#30914)
- Arm the stall timer only after a store's first time to headers (#30978)
- Keep Decimal values when transposing (#30979)
- Make
median,mean,quantileandsumconsistent across dtypes and contexts (#30942) - Release pooled connections and use the Arrow cursor for Databricks in read_database (#30952)
- Bound the wait for DSL resolvers still running after an error (#30951)
- Return NULL for SQL LEFT and RIGHT with a zero count on NULL input (#30941)
- Fix
Column::Dictionaryissues (#30927) - Keep the group key when a SQL output reuses its name (#30947)
- Don't panic on extreme counts in string, binary and list slicing (#30940)
- Handle NULL arguments in SQL string and date functions (#30943)
- Rename repeated SQL expressions instead of raising (#30949)
- Return NULL for a NULL length in SQL LEFT and SUBSTRING (#30934)
- Split into characters for an empty separator when broadcasting a single string (#30946)
- Compute unnamed SQL GROUP BY key expressions after the aggregation (#30939)
- Return the whole string for a SQL RIGHT count beyond its length (#30937)
- Return NULL for a NULL argument in SQL SPLIT_PART (#30936)
- Raise instead of panicking on SQL GREATEST, LEAST and COALESCE without arguments (#30933)
- Slice before filtering in
scan_arrow_c_streamandpl.defer(#30919) - Keep the storage's own categorical mapping in Map dtypes (#30891)
- Evaluate the quantile argument per group in
group_by(#30902) - Turn panics in Arrow C stream callbacks into stream errors (#30886)
- Merge a single nested descending key in the right order (#30896)
- Raise on an invalid date/time format in SQL STRPTIME and DATE (#30847)
- Don't keep stale nesting flags when appending nested columns (#30890)
- Merge
Enumkeys by category order inmerge_sorted(#30882) - Keep
bin_intervalsfloat breakpoints sorted, and add rank-binning kernels for parts of a column (#30867) - Lower the cloud connect timeout to 10 seconds and add env vars (#30897)
- Use per-account ADLS SAS tokens vended by Iceberg catalogs (#30892)
- Make SQL
DELETEchange the registered table in aSQLContext(#30869) - Read non-seekable and offset
io.FileIOobjects through Python (#30870) - Keep nulls in
drop_nansinsidegroup_byandover(#30836) - Lower the default OOC dirty page limit to 0.8 of total memory (#30838)
- Keep deleted rows deleted in
delete_icebergandsink_icebergoverwrites (#30817) - Infer one struct field per repeated JSON object key (#30724)
- Make ordering aggregations on nested, Extension and Object dtypes consistent across contexts (#30745)
- Export dictionary columns in expression plugins (#30814)
- Stop consuming input after streaming sink failures (#30757)
- Export the Arrow form of logical dtypes in
Series._export_arrow_to_c(#30779) - Reject statements that are not queries in EXPLAIN (#30798)
- Leave
pl.element()andpl.len()insideevalalone in pivot aggregations (#30781) - Do not read Iceberg column names as regex in
sink_icebergand SQL CTAS (#30791) - Use the supertype in the schema of arithmetic with a literal on the left (#30765)
- Expand a leading ~ in SQL file paths (#30774)
- Allow repeated indices in a group in debug aggregation checks (#30771)
- Return null instead of silent overflow for temporal total_ functions (#30743)
- Commit SQL
DELETEon Iceberg catalog tables as one copy-on-write snapshot (#30764) - Place nulls in nested
search_sortedas for other dtypes (#30705) - Return null/NaN for var/std of a single null/non-finite value in sorted group_by (#30747)
- Supertype of unknown ints (#30742)
- Apply calendar parts of offset_by in one step (#30744)
- GeoParquet default CRS, early errors, and user geo key pref (#30735)
- Sync
prepare_cloud_planreturn type (#30733) - Support numpy 0.28 and builds without the cloud feature (#30722)
- Make
Expr.entropycorner cases consistent across engines (#30699) - Do not set
schema.name-mapping.defaulton Iceberg commits (#30711) - Carry non-string Iceberg catalog properties and storage options through
sink_iceberg(#30677) - Fix column order of unnest in projection pushdown (#30702)
- Slice pushdown with list/struct eval (#30701)
- Don't create spurious nulls in when-then-otherwise (#30682)
- Raise in schema for numeric divided by temporal types (#30163)
- Update the Struct null count after a gather from several chunks (#30675)
- Fix
cumulative_evalwithmin_samples=0dropping the last window (#30648) - Flag on min max sort for ordering (#30580)
- Use the table's FileIO properties in
sink_icebergand PyIceberg-planned scans (#30641) - Avoid segfault on environment changes after a cloud scan (#30665)
- Respect column heights in masked
when/then/otherwisebranches (#30635) - Require a scalar
elementinlist.count_matchesandarr.count_matches(#30631) - Keep an oversized fetch alone in the scan prefetch window (#30634)
- Support reading
Timehive partition columns (#30100) - Keep the scale of a Decimal fill value in
shift(#30547) - Don't treat
is_inwith a multi-row literal as elementwise (#30617) - Correct the hint in the strict struct cast error (#30470)
- Read inner struct fields and report unknown qualifiers in SQL subqueries (#30348)
- Preserve fractional seconds in hive partition paths for
Timekeys (#30097) - Implement exact round_sig_figs for integers (#30591)
- Resolve supertype to i128 for large literals (#30593)
- Support catalogs requiring PURGE in SQL DROP (#30537)
- Distinguish null structs from all-null structs in
is_unique(#30600) - Check the whole expression and its zips in
Expr.meta.is_row_separable(#30560) - Pyarrow predicate pushdown is_in semantics (#30536)
- Fix schema errors for
UInt128cum ops andNulltruediv (#30584) - Correct broadcasting on scalar comparison (#30564)
- Sort with limit in in-memory group-by (#30563)
- Don't ignore dict fields after first in Series constructor (#30533)
- Read a constant once per row in SQL window aggregates (#30559)
- Add
UInt128toProducttype mapper (#30555) - Asof join with Categorical key column (#30554)
- Correct conversion to bool in AnyValue constructor (#30548)
- Stale usage of
min_samplesinstead ofmin_periods(#30306) - Make strict struct casts in expressions match
Series.cast(#30538) - Panic in pl.format (#30534)
- Keep the time unit of NumPy datetime64/timedelta64 scalars (#30526)
- Do not coalesce join keys for inequality joins in projection pushdown (#30525)
- Return Int64 from SQL string length, position and date part functions (#30493)
- Ingest from sliced Arrow
FixedSizeListArray(#30483) - Give repeated unnamed SQL constants distinct names (#30488)
- Apply
ORDER BYto a SQLVALUESlist (#30468) - Update SQL catalog
Decimalerror test (#30491) - Raise an error instead of panicking for SQL decimal types with an invalid precision or scale (#30450)
- Allow TOP as a SQL table alias or column name (#30476)
- Clear the sorted flag of aggregated literals with empty groups (#30461)
- Fix segfaults and leaked references with Object values in group contexts (#30458)
- Correct
scalar // SeriesandDataFramefloordiv (#30452) - Keep the per-group loop for Object values next to a per-group scalar (#30451)
- Support Arrow extension types with dictionary storage over FFI (#30419)
- Coerce SQL temporal strings, set operation columns, and untyped join keys to a common type (#30464)
- Apply Delta deletion vectors to files in escaped partition paths (#30454)
- Read SQL column names like "*" or "^a$" as names and respect WHERE without FROM (#30440)
- Drop the sorted flag after a per-window
sliceinrolling(#30439) - Missing cast in scatter (#30420)
- Arrow C stream Decimal32/64/256 import (#30435)
- Match sum_horizontal dtype to sum dtype (#30433)
- Drop the sorted flag when a gather puts nulls at both ends (#30431)
- Fix count-only projection pushdown through
LazyFrameResolver(#30445) - Use total order in in-memory sorted join (#30434)
- Clear the sorted flag when first/min/max leave groups empty (#30427)
- Quoted values with newlines in read_csv(use_pyarrow=True) (#30423)
- Honour
IF EXISTSin SQLDROP TABLE ... PURGEon catalogs that refuse purges (#30422) - Fix slice returning too many rows when Iceberg position delete is past end of file (#30412)
- Keep sorted flag when appending a unit-length array next to all-null data (#30377)
- Quote CSV fields that contain a custom line terminator (#30210)
- Incorrect state update in streaming gather node (#30415)
- Accept column name for
list.gatherindices (#30375) - Materialize untyped key dtypes when row encoding sort and group keys (#30402)
- Compare SQL join keys of different numeric types in a common type (#30401)
- Ensure allocator drift is flushed at thread exit (#30383)
- Prevent
to_pandas()deadlock withmap_elementson another thread (#30361) - Return null from
corrwhen no pair is complete, and broadcast literals in streamingcov/corr(#30370) - Fix
len()regression caused read of parquet row groups (#30363) - Allow expressions on the right input in outer join_where predicates (#30368)
- Update sqlparser to 0.63 so SQL IS DISTINCT FROM binds tighter than AND/OR (#30367)
- Compute quantile ranks among the non-null values (#30342)
- Don't panic when zipping an empty frame without columns with broadcasts (#30344)
- Pass default business-day holidays as a scalar literal (#30340)
- Correct nested
rollinginrolling/group_by_dynamiccontexts (#30333) - Make
sort()of a per-group scalar a no-op inaggandover(#30327) - Fix panic in dt.base_utc_offset/dst_offset (#30335)
- Do not drop rows after an empty chunk in
write_json(#30313) - Don't finish a sink's output file when its query fails (#30279)
- Load Delta partition values from the log in
scan_delta(#30052) - Keep row order for
when/then/otherwisewith literal branches (#30315) - Keep null rows for
is_null() & ~is_in(..., nulls_equal=True)filters (#30310) - Raise on extra keys in from_dicts (#30243)
- Do not panic on null rows when list/array agg yields Struct or Null (#30302)
📖 Documentation
- Add new IO plugins interface to Python user/reference guide (#30583)
- Point Polars Cloud links at Polars Nanook (#30606)
- Update distributed engine support labels (#30581)
📦 Build system
- Revert sharing generic instantiations between crates in release builds (#30960) (#31032)
- Share generic instantiations between crates in release builds (#30960)
- Update
urlpackage version to2.5.9(#30999) - Stronger runtime wheel compression (#30984)
- Instantiate the self-describing serde code once (#30355)
🛠️ Other improvements
- Disable free-threaded Python 3.15t wheels and tests for now (#31064)
- Share SQL statement helpers and simplify recent SQL functions (#31051)
- Tag the released commit in the polars-database and polars-iceberg releases (#31036)
- Shorten long-running Python tests (#31008)
- Support deltalake 1.7 in the Delta sink tests (#31012)
- Update
urlpackage version to2.5.9(#30999) - Run SQL reads of Iceberg catalog tables under both scan planners (#30889)
- Disable the stall timer in the connection refused test (#30987)
- Bump polars-iceberg to 0.1.1 (#30963)
- Fail the Python release on unreleased polars-iceberg changes (#30883)
- Simplify recent SQL functions (#30915)
- Represent slices with a single
Slicetype (#30887) - Fail the Python release on unreleased polars-database changes (#30880)
- Pin to the last version that worked (#30878)
- Inline polars-iceberg (#30821)
- Make the expected error of
test_string_chrdeterministic (#30868) - Ignore unmaintained advisories for chrono, chrono-tz and humantime (#30859)
- Expect SQL type names from TYPEOF in the alias reuse test (#30827)
- Bump pyrefly to 1.4.1 (#30783)
- Polars Nanook rebranding (#30732)
- Remove
is_fake_elementwise_function(#30618) - Shape-typed
DataFrame.to_numpyandDataFrame.__array__return annotations (#30552) - Install polars-nanook instead of deprecated polars-cloud (#30607)
- Keep capfd output when an xdist worker crashes (#30532)
- Remove typos over all of Polars (#30553)
- Update
.gitattributesfor Linguist (#30562) - Don't serialize Python object for auto credential provider (#30521)
- Disallow trivial first-time contributor fixes (#30549)
- Memory tests run in fresh python process (#30535)
- Update README (#30545)
- Update SQL doctest dtypes to Int64 (#30506)
- Run the sort allocator decay test in a new process (#30469)
- Expose
extract_quantilesandFinalizedSketch::estimate_at_rank(#30456) - Automatically tag appropriate Issues and PRs with the
A-interop-arrowlabel (#30455) - Fix flaky encryption test (#30437)
- Fix OOC sort decay test (#30345)
- Type-erase
RAYON.install(#30356) - Make the approx_quantile failure probability an IR parameter (#30321)
- Replace approx_quantile merge reductions with union reduction (#30317)
- Bump zstd to 0.14.4, brotli to 9.1.1, remove apache-avro dep (#30316)
Thank you to all our contributors for making this release possible!
@Aidavdw, @BitWeaverDev, @EndPositive, @Ferdinanddb, @FrankPortman, @Jesse-Bakker, @KaanSimsek, @Kevin-Patyk, @Liyixin95, @Matt711, @OmarMohamed256, @Yasas-Sri, @adamreeve, @alexander-beedie, @blackhat-hemsworth, @borchero, @carnarez, @damiandaniel, @dancsi, @dsprenkels, @gautamvarmadatla, @jorenham, @kdn36, @lun3x, @matthewbayer, @mikelui, @nameexhaustion, @ndaskalovic, @orlp, @raphaelauv, @ritchie46 and @sakshichitnis27