Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bc9cef2
deps: use DataFusion main (350ca76) with Arrow/Parquet 60 and object_…
andygrove Oct 26, 2026
62c6dae
docs: document the all-NaN Iceberg manifest bound known issue and ign…
andygrove Oct 26, 2026
1ee9afe
deps: use DataFusion branch-56 (1635ed9) with Arrow/Parquet 60.1.0
andygrove Nov 3, 2026
2544b07
Merge remote-tracking branch 'apache/main' into datafusion-56
andygrove Nov 3, 2026
56a88c9
fix: drop a needless borrow that clippy flags under Arrow 60
andygrove Nov 3, 2026
96c7f07
test: ignore the nested BINARY invalid UTF-8 tests on DataFusion 56
andygrove Nov 3, 2026
993beb8
refactor: install join and TopK dynamic filters without the deprecate…
andygrove Nov 3, 2026
e044666
fix: match the renamed ClusteredFinalAggregateStream consumer
andygrove Nov 3, 2026
9156480
Merge remote-tracking branch 'apache/main' into datafusion-56
andygrove Nov 3, 2026
b464997
fix: remove the spill replay pool now that DataFusion 56 has #25383
andygrove Nov 4, 2026
e9a639d
fix: pin iceberg-rust with the NaN bounds fix
andygrove Nov 4, 2026
5fbfd29
chore: pin DataFusion to the current head of branch-56 and pause the …
andygrove Nov 11, 2026
4c0479b
chore: pin DataFusion to the 56.0.0-rc1 tag
andygrove Nov 13, 2026
ea7c97d
Merge remote-tracking branch 'apache/main' into datafusion-56
andygrove Nov 21, 2026
1875029
fix: build and pass main's new native tests on DataFusion 56
andygrove Nov 21, 2026
32d1681
build: build Comet Native Executors on Ballista main and turn its CI …
andygrove Nov 21, 2026
8f68fe2
build: use the DataFusion 56.0.0 release tag and turn the native-exec…
andygrove Nov 22, 2026
f43aa2e
build: use the DataFusion 56.0.0 release from crates.io
andygrove Nov 24, 2026
7f4811d
Merge branch 'main' into datafusion-56
andygrove Nov 24, 2026
5c04cc9
build: move iceberg-rust from the fork to an upstream main revision
andygrove Nov 25, 2026
ad6ed8c
build: build native-executors on Ballista main and DataFusion 56.0.0,…
andygrove Nov 25, 2026
188f7cd
fix: keep SpillReplayPool on DataFusion 56, which gives the replay he…
andygrove Nov 25, 2026
9fbac80
test: add the ANY_VALUE(array<string>) reproducer from #7541
andygrove Nov 25, 2026
8ebda31
docs: say why the deletion vector reader peak bound still holds on Da…
andygrove Nov 25, 2026
1100221
docs: link follow-up issues for the PartialMerge switch and xxhash64 …
andygrove Nov 25, 2026
f68b88b
fix: use and_not for the MergeRows not-matched masks
andygrove Nov 25, 2026
2447840
refactor: drop the TopK workaround for omitted Parquet null counts
andygrove Nov 25, 2026
a87c14f
docs: describe the decoder's selection copies in reader_peak_bytes
andygrove Nov 25, 2026
b5c92ca
docs: describe current behavior in comments instead of version history
andygrove Nov 25, 2026
a02d576
fix: tell the spill merge's file choice apart from the replay in Spil…
andygrove Nov 29, 2026
9d7cb65
test: check that a Single aggregate over fully sorted input registers…
andygrove Nov 29, 2026
2217453
fix: keep a one-partition fragment's inputs coalesced when Ballista r…
andygrove Nov 29, 2026
654dbb7
deps: move native-executors to the Ballista 56.0.0 release
andygrove Nov 30, 2026
7d10e28
Merge remote-tracking branch 'apache/main' into datafusion-56
andygrove Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
329 changes: 206 additions & 123 deletions contrib/delta/native/Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contrib/delta/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ crate-type = ["rlib"]
datafusion-comet-proto = { path = "../../../native/proto" }
# For `ExecutionPlan` (return type), `SchemaRef` (the shim hands these in), and `DataFusionError`
# (the not-implemented error). Versions/features mirror core so the shared lockfile resolves cleanly.
datafusion = { version = "55.2.0", default-features = false, features = ["parquet"] }
datafusion = { version = "56.0.0", default-features = false, features = ["parquet"] }
2 changes: 1 addition & 1 deletion contrib/lance/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ license = "Apache-2.0"
crate-type = ["rlib"]

[dependencies]
datafusion = { version = "55.0.0", default-features = false }
datafusion = { version = "56.0.0", default-features = false }
datafusion-comet-proto = { path = "../../../native/proto" }
19 changes: 10 additions & 9 deletions docs/source/contributor-guide/memory_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ A consumer that cannot spill takes what Spark grants. The pool refuses it only w
total plus the request would exceed `pool_size`, which Spark's own limit on the task is at least as
tight as unless the deprecated fraction is below `1 / N`.

The pool goes by what a consumer declares, with one exception. DataFusion 55.2 registers
`OrderedFinalAggregateStream` as able to spill even when its input is sorted on every grouping key,
The pool goes by what a consumer declares, with one exception. DataFusion registers
`ClusteredFinalAggregateStream` as able to spill even when its input is sorted on every grouping key,
as a workaround for [apache/datafusion#17334](https://github.com/apache/datafusion/issues/17334), but
builds a spill path only for partially sorted input. Fully sorted, as in a `CometSortAggregateExec`
over a native sort, a refusal fails the query, so the pool checks its requests only against the
Expand Down Expand Up @@ -491,14 +491,15 @@ the task's last open native plan closes.
### Final aggregates reading their spill files back

`SpillReplayPool` (`spill_replay.rs`) wraps both Comet pools to work around
[issue #6254](https://github.com/apache/datafusion-comet/issues/6254). Once one of DataFusion 55's
[issue #6254](https://github.com/apache/datafusion-comet/issues/6254). Once one of DataFusion's
final aggregates has spilled, it reads its spill files back through an aggregate that cannot spill,
so a refused `try_grow` there fails the task. When the pool refuses such a request,
`SpillReplayPool` records it with the pool's `grow` instead, which skips `CometFairMemoryPool`'s
local checks and carries what Spark does not grant as overcommit. Every other refusal is passed on
unchanged. `spill_replay.rs` describes how the wrapper recognizes these requests and what that relies
on in DataFusion. [Issue #6583](https://github.com/apache/datafusion-comet/issues/6583) tracks
removing it.
so a refused `try_grow` there fails the task. DataFusion 56 checks for room for this when it picks
the spill files to merge, but it does not keep that room, so the request can still be refused. When
the pool refuses such a request, `SpillReplayPool` records it with the pool's `grow` instead, which
skips `CometFairMemoryPool`'s local checks and carries what Spark does not grant as overcommit.
Every other refusal is passed on unchanged. `spill_replay.rs` describes how the wrapper recognizes
these requests and what that relies on in DataFusion.
[Issue #6583](https://github.com/apache/datafusion-comet/issues/6583) tracks removing it.

## How DataFusion consumes the pool

Expand Down
6 changes: 4 additions & 2 deletions native/.cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ ignore = [
# the process already holds. Exploiting it needs a network observer timing those signatures.
"RUSTSEC-2023-0071",

# zstd 0.13.3 / zstd-safe 7.3.0. Fixed in zstd 0.14.3 / zstd-safe 8.2. arrow-ipc 59 pins
# zstd ^0.13, and arrow-ipc 60 moves to ^0.14, so this is blocked on the arrow 60 upgrade.
# zstd 0.13.3 / zstd-safe 7.3.0. Fixed in zstd 0.14.3 / zstd-safe 8.2. zstd 0.13 still comes
# from Comet's own native/shuffle, and from iceberg and its apache-avro 0.22, which both
# require zstd ^0.13. Removing these needs native/shuffle on zstd 0.14 and an iceberg-rust
# revision whose iceberg and apache-avro are on it.
# Comet's own use (native/shuffle) is not affected by these:
"RUSTSEC-2026-0391", # with_context leaks an abandoned stream. ShuffleCodecContext resets the
# session before every frame, which is the upstream fix.
Expand Down
Loading
Loading