Release DataFusion `55.3.0` (patch) Release (Nov 2026)
Is your feature request related to a problem or challenge?
- Part of https://github.com/apache/datafusion/issues/19783
- Follow on to https://github.com/apache/datafusion/issues/25758
Discuss a 55.3.0 patch release to fix any bugs / issues found in 55.2.0.
Steps:
- [ ] Update version and changelog
- [ ] Test with DataFusion Python
- [ ] Test with DataFusion Comet
- [ ] Test with delta.rs:
- [ ] Test vortex:
- [ ] Test with iceberg-rust:
- [ ] Test with LakeSail:
- [ ] Test with parquet viewer
- [ ] Test with datafusion-materialized-views
- [ ] Voting Thread:
- [ ] Publish to crates.io
Potential Content:
Already merged to branch-55 (unreleased):
Bug Fixes
- [x] Issue https://github.com/apache/datafusion/issues/17340; Fix: https://github.com/apache/datafusion/pull/24592 (@jayzhan211); Backport: https://github.com/apache/datafusion/pull/26435 (@andygrove)
- [x] Issue https://github.com/apache/datafusion/issues/23393; Fix: https://github.com/apache/datafusion/pull/26154 (@kosiew); Backport: https://github.com/apache/datafusion/pull/26767 (@andygrove)
- [x] Issue https://github.com/apache/datafusion/issues/26779 (@ndscoder); Fix: https://github.com/apache/datafusion/pull/25234 (@haohuaijin); Backport: https://github.com/apache/datafusion/pull/26869 (@haohuaijin)
- [x] Issue https://github.com/apache/datafusion/issues/26779 (@ndscoder); Fix: https://github.com/apache/datafusion/pull/25531 (@haohuaijin); Backport: https://github.com/apache/datafusion/pull/26870 (@haohuaijin)
- [x] Issue https://github.com/apache/datafusion/issues/25471 (@lyne7-sc); Fix: https://github.com/apache/datafusion/pull/25472 (@lyne7-sc); Backport: https://github.com/apache/datafusion/pull/27320 (@Sunninsky)
- [x] Issue https://github.com/apache/datafusion/issues/25133 (@jeffw13); Fix: https://github.com/apache/datafusion/pull/25134 (@jeffw13); Backport: https://github.com/apache/datafusion/pull/27353 (@Sunninsky)
- [x] Issue https://github.com/apache/datafusion/issues/26001 (@jayzhan211); Fix: https://github.com/apache/datafusion/pull/26027 (@CuteChuanChuan); Backport: https://github.com/apache/datafusion/pull/27354 (@Sunninsky)
- [ ] Fix: https://github.com/apache/datafusion/pull/24573 (@jayzhan211); Backport: https://github.com/apache/datafusion/pull/27358 (@Sunninsky, draft)
- [x] Issue https://github.com/apache/datafusion/issues/25875 (@hareshkh); Fix: https://github.com/apache/datafusion/pull/25828 (@hareshkh); Backport: https://github.com/apache/datafusion/pull/27373 (@kamilk-pal)
- [x] Issue https://github.com/apache/datafusion/issues/25157 (@gruuya); Fix: https://github.com/apache/datafusion/pull/25312 (@2010YOUY01); Backport: https://github.com/apache/datafusion/pull/25843 (@andygrove)
Other
- [ ] TBD
Minor Features:
- [ ] TBD
If you think another fix should be included, please comment here or open a backport PR against branch-55 and link it. See the Release Management guide for backport criteria.
@alamb i open the two backport PRs to branch-55:
- #26869 backports #25234: fix unsafe integer interval propagation.
- #26870 backports #25531: restrict reverse cast constraint propagation to safe conversions.
We hit a planning failure on 55.2.0 in production: a CAST(timestamp AS DATE) < date filter failed with Selectivity is out of limit: 1.0010667877660373. #26870 on branch-55 fixes it, and we confirmed that with a local repro. We'd like to see 55.3.0 released, and are happy to help test it against delta.rs.
Thanks @clintonjrobinson please make a backport PR to the branch-55
A candidate for 55.3.0: #25472 (fix for #25471, LEAD/LAG ... IGNORE NULLS returning NULL / the default across NULL gaps).
55.2.0 still has the bug that #25472 fixes on main. In WindowShiftEvaluator::evaluate (datafusion-functions-window/src/lead_lag.rs), the NULL branch of the LEAD lookahead refill can never run, so LEAD(v, N) IGNORE NULLS with N >= 2 returns the wrong row once a NULL falls inside the lookahead. The repro in #25471 shows it: LEAD(v, 2) IGNORE NULLS for id = 3 returns NULL instead of 70.
This is a wrong result, not a slowdown. We found it in DataFusion Comet, which runs Spark's lead / lag ... IGNORE NULLS through this evaluator: a differential run against Spark on real rows returns different rows for LEAD with an offset of 2 or more.
As far as I can see #25472 is only on main (labelled v56.0.0), not on branch-55, and it is not in the "Potential Content" list above. Could it be added?
A related but separate case in the same evaluator is #27284: with offset 0, IGNORE NULLS returns the default for a row that is itself NULL.
Sure -- please make a backport PR and and we can review
Backport PR for #25472: #27320. The cherry-pick (-x) applied to branch-55 without conflicts and changes nothing else. On the branch I ran cargo test -p datafusion-functions-window (18 passed) and the sqllogictests matching window (all 7 files pass, including window.slt and window_limits.slt with the cases #25472 added).
Three more candidates for 55.3.0, all in the sort-merge join (datafusion/physical-plan/src/joins/sort_merge_join/). As far as I can see none of them is on branch-55 or in the list above: they are on main only (labelled v56.0.0), and the 55.1.0 and 55.2.0 changelogs have no sort-merge-join entry. Each one is a failed task or a wrong result, not a slowdown:
- #25134 (fix for #25133): a mark, semi or anti sort-merge join on a floating-point key panics with
called `Option::unwrap()` on a `None` valuewhen a key group ends at the end of an input batch and the key is NaN. Through Comet this is a SparkLEFT SEMI JOIN/LEFT ANTI JOINon aDOUBLEkey with NaN rows, and Spark returns the rows. The cherry-pick (-x) ontobranch-55applies cleanly. - #26027 (fix for #26001): a LEFT / RIGHT / FULL sort-merge join whose filter uses a column that is
NOT NULLon the NULL-padded side fails withColumn '...' is declared as non-nullable but contains null values. Through Comet that column is thecount(*)of an aggregate directly under the join. The cherry-pick conflicts inmaterializing_stream.rs(aroundfilter_schema). - #24573: with a join filter, LEFT / RIGHT / FULL emit their last filtered batch ahead of rows still staged in the output buffer, while the join advertises the order of its streamed side (
maintains_input_order). A native aggregate above it trusts that order, closes a group early and returns it twice: 8 rows where Spark returns 7. The cherry-pick conflicts intests.rsonly. (Only 5 of its 20 hunks are the ordering fix; we carry just those in Comet.)
We found them in DataFusion Comet, which vendors 55.2.0: Spark queries compared with Spark's own result, with the batch size set to 1 to 8 rows, because test data of ordinary size never makes a key group end at a batch boundary. On the 55.2.0 code the tests of #25134 (144 cases) and #24573 (3 ordering tests) fail, and with each fix they pass. The tests of #26027 are sqllogictests, so we wrote three small unit tests for it (LEFT, RIGHT and FULL, the filter column declared NOT NULL on the padded side), which fail with the error above on 55.2.0 and pass with the fix.
Could they be added? I can open the backport PRs against branch-55 if that helps.
yes please open backport prs . Also if they aren't on branch-54 please backport them to there as well (to prevent regressions on upgrade to 54)
Opened the backport PRs.
branch-55:
- #27353:
fix(smj): handle floating-point keys across batch boundaries(backport of #25134), clean cherry-pick - #27354:
fix: allow NULL-padded rows in sort-merge join filter evaluation(backport of #26027), one conflict resolved - #27358:
fix: ensure deferred-filtered outer joins preserve streamed output order(backport of #24573), conflict intests.rsonly (draft, see below)
branch-54 (none of the three is on branch-54 either, and the new tests fail there without the fix):
- #27357 (#25134): clean cherry-pick (draft)
- #27356 (#26027): the sort-merge join on
branch-54predates the generator refactor, so I ported it by hand (draft) - #27355 (#24573): partial port, only the ordering fix and its three regression tests; the rest of that commit refactors code that is different on
branch-54(draft)
Four of these are drafts because contributors without write access are limited to 3 open non-draft PRs, and #27320, #27353 and #27354 already use the three slots. Each PR says what was run and shows the new tests failing without the fix.
As the open ones get merged I will mark the drafts ready for review, in this order: #27358, #27357, #27356, #27355. If it is easier, a committer can also mark them ready or take them over.
Could we get https://github.com/apache/datafusion/pull/27373 included in the release too?
I'll get the backports merged, and then get a PR up with version change and release notes
Version change PR:
- https://github.com/apache/datafusion/pull/27382
PR to update changelog / version:
- https://github.com/apache/datafusion/pull/27388
Hey @alamb, sorry for the last minute notice, could we get a backport of https://github.com/apache/datafusion/pull/26310 in too? It got backported to branch-54 so it'd be good to have it in this release too.
Backport PR: https://github.com/apache/datafusion/pull/27392
Voting thread: https://lists.apache.org/thread.html/nk0vdvyo7qpn6f8lsyo3j13vqcgp5mcc
PR is approved and released: https://lists.apache.org/thread.html/wbb8fnxsddqh36l2hr005f6cdyplp0yx