Skip to content

deps: upgrade to DataFusion 56.0.0 - #7249

Draft
andygrove wants to merge 34 commits into
mainfrom
datafusion-56
Draft

andygrove wants to merge 34 commits into
mainfrom
datafusion-56

Conversation

@andygrove

@andygrove andygrove commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

Part of #6410, which tracks the regressions this PR finds. Closes #7541 and #7242.

The nested BINARY UTF-8 regression is tracked in #7469. Its upstream fix, apache/datafusion#27067, is on DataFusion main but not in 56.0.0. This PR is a draft and is not meant to merge until that fix is released in a 56.0.x patch release and Comet uses it.

This replaces #6404, moving the branch from a fork to datafusion-56 in this repository.

Rationale for this change

DataFusion 56.0.0 moves to arrow/parquet 60.1.0 and object_store 0.14.2 (apache/datafusion#25335, apache/datafusion#26867), and it has a number of API changes (see its 56.0.0 upgrade guide). Building Comet against it now surfaces the breaks early and lets CI run the Comet suites against it.

What changes are included in this PR?

Dependencies

  • datafusion, datafusion-datasource, datafusion-functions, datafusion-physical-expr-adapter and datafusion-spark in the workspace now use the 56.0.0 release from crates.io. So do the datafusion-functions-nested dev-dependency in core and datafusion in both contrib crates.
  • arrow, arrow-data, arrow-select and parquet go from 59.2.0 to 60.1.0.
  • object_store goes from 0.13.2 to 0.14.2. object_store_opendal goes from 0.58.0 to 0.59.0, the first release on object_store 0.14. That release keeps opendal on 0.58, which is what the iceberg-rust revision below uses.
  • parking_lot goes from 0.12 to 0.13, the version DataFusion's LazyBatchGenerator API now uses.
  • iceberg and iceberg-storage-opendal move to 219078c on iceberg-rust main. It includes Bump to Arrow 60 iceberg-rust#3257 ("Bump to Arrow 60") and fix(writer): skip NaN min/max when aggregating Parquet column bounds iceberg-rust#3539, which skips NaN min and max statistics in manifest bounds.
    • Comet hands arrow types to iceberg-rust directly, so the two must agree on arrow.
    • iceberg-rust's ArrowReaderBuilder now takes its settings as ArrowReaderOptions, and FileScanTaskDeleteFile::file_size_in_bytes is now an Option. iceberg_scan.rs uses the new API.
  • Lockfiles: native/Cargo.lock, native/native-executors/Cargo.lock and contrib/delta/native/Cargo.lock are regenerated.
  • native/native-executors moves Ballista, DataFusion and datafusion-proto to their 56.0.0 releases. The workspace builds with one copy of DataFusion again, so its linux-test-native-executors CI job is back on.

Source changes (all forced by the upgrade)

  • Arrow 60.1 deprecates ArrowArrayStreamReader in favor of RecordBatchStreamReader, and FixedSizeListArray::value_offset in favor of value_offset_at. Comet uses the new names.
  • Arrow 60 made the FFI_ArrowArrayStream callbacks private, so the decimal-realignment test in scan.rs can no longer build a hand-rolled C stream. It now exports a struct array and imports it with from_ffi_and_data_type, the call RecordBatchStreamReader::next makes. AlignedArrowStreamReader was already gone on main.
  • Parquet 60 moved the page index behind ParquetMetaData::page_index(), a PageIndexProvider with per-row-group access.
    • with_spark_arrow_schema and the rebase footer rewrite carry it over with set_page_index.
    • page_selection_bound_selectors in delta_dv.rs walks the row groups through page_index_for_row_group.
    • The tests check page_index() instead of column_index()/offset_index().
  • AggregateExec::input_order_mode() is now group_clustering_mode(), returning a GroupClusteringMode. Two planner tests and a min_max_struct test use it.
  • refactor: use group clustering terminology in aggregate execution datafusion#24697 renamed OrderedFinalAggregateStream and its memory consumer to ClusteredFinalAggregateStream. The fair pool's exemption and SpillReplayPool's final-aggregate check match that consumer by name, so they now match the new name. Without this they silently stopped applying.
  • SpillReplayPool also covers ClusteredSingleAggregateStream, which DataFusion 56 runs for a Single aggregate over input sorted on some of its keys and which replays its spill files the same way.
  • DataFusion's coerce_int96 and coerce_int96_tz are now typed (DFTimeUnit, ConfigTimeZone) instead of strings.
  • object_store 0.14 added GetResult::extensions, which ScanIoObjectStore::get_opts now forwards.
  • OffsetBuffer::first()/last() now return values instead of Options.
  • Field and schema metadata are now arrow's Metadata type. The datetime rebase resolution reads it directly, and the shuffle schema cache's size estimate uses len() instead of capacity().
  • fb_to_schema is deprecated. The shuffle decoder uses try_fb_to_schema, so an invalid schema message now returns a decode error where it used to panic.
  • FFI_ArrowSchema::with_metadata is now unsafe. The call in move_to_spark is sound because the schema was just built by TryFrom.
  • HashJoinExec::with_dynamic_filter_expr and SortExec::with_dynamic_filter_expr are deprecated with no replacement, and Comet no longer calls them.
    • The runtime TopK takes the filter a SortExec with a fetch creates for itself (dynamic_expressions_produced()) and hands it to the Parquet reader below the sort.
    • DynamicFilterJoinExec reports to HashJoinExec::handle_child_pushdown_result what DataFusion's FilterPushdown rule would, namely that the probe-side self filter was pushed down. The join then installs the filter itself, after finding Comet's consumer in its probe subtree.
  • Two other DataFusion APIs are deprecated, and each call stays under #[allow(deprecated)]:
    • ExecutionPlan::with_preserve_order, which DataFusion no longer calls. MetricOwningExec keeps forwarding it.
    • ParquetAccessPlan::into_overall_row_selection, in three delta_dv.rs tests. DataFusion 56's reader no longer builds that file-level selection. It moves each row group's selection into the parquet push decoder, and the decoder's copies are at most the retained selectors. reader_peak_bytes keeps charging term 3 as the larger combined selection, so it is still an upper bound. Its doc comment now describes the decoder's copies, and the three tests say they check the formula, not the reader. Measure the Delta deletion vector reader peak on DataFusion 56 and tighten reader_peak_bytes #7766 tracks measuring the reader and moving the tests off the deprecated call.
  • normalize_spark_empty_key_metadata_rejects_other_malformed_encodings: Arrow 60 accepts empty entries in unsorted Variant dictionaries (Add proptest fuzzing to parquet-variant and implement fixes for findings arrow-rs#10352).
    • Two of the five "malformed" dictionaries in the test were rejected only because of their empty entry: the one with a repeated entry and the one with trailing bytes.
    • Both now pass through unchanged. That matches Spark, which checks only the offsets of the keys it looks up, so the test now asserts it.
  • make_map_c in comet-test-udfs: arrow 60's MapBuilder names the map children key/value by default, so the test UDF now names them keys/values explicitly to keep exercising non-canonical names.
  • merge_rows.rs goes back to and_not for the not-matched masks. arrow 60.1 fixes it for inputs with a non-zero offset (and_not produces incorrect values for sliced BooleanArray arrow-rs#10698).
  • The runtime TopK no longer clears Parquet column statistics that omit null_count before attaching its filter to the reader. DataFusion 56 reads an omitted count as unknown (fix: preserve missing Parquet null counts datafusion#25242). topk/reader.rs is gone, and the TopK attaches through try_attach_parquet_reader_filter like the min/max and join filters. It also attaches when the scan has a static predicate, which it skipped before because clearing statistics could expose a file that predicate excluded. static_range_with_unknown_null_count_keeps_hiding_an_excluded_file checks that it attaches and that the static predicate still hides the file.
  • datafusion-spark's SparkXxhash64 now ignores the hidden children of a NULL struct (fix: xxhash64 of a NULL struct ignores the struct fields datafusion#25774) and keeps the running hash for nested dictionaries (fix: keep the running hash for nested dictionaries in Spark xxhash64 datafusion#25813). Three tests in xxhash64_diff.rs that pinned those differences now assert equality. Comet still keeps its own kernel for those types. Route struct and nested dictionary xxhash64 arguments to datafusion-spark's SparkXxhash64 #7764 tracks widening the routing.

Known issue: invalid UTF-8 in nested BINARY values read as strings

apache/datafusion#25193 made DataFusion's Parquet file-schema coercion recurse into nested types, so a nested BINARY field that the read schema declares as a string is decoded straight into Utf8. The parquet reader validates UTF-8 only for columns with the UTF8 annotation, so an invalid value produces an unvalidated StringArray: a panic in debug builds, and unsound data in release builds. On main, #7106 decodes these values to U+FFFD. This PR ignores #7106's Rust test (nested_arrow_binary_types_read_as_string_decode_invalid_utf8) and JVM test (ParquetReadSuite "native scan decodes invalid UTF-8 in nested BINARY read as string"). The issue is tracked in #7469 and was reported upstream as apache/datafusion#27065. apache/datafusion#27067 fixes it on DataFusion main. It cherry-picks cleanly onto branch-56, and this PR needs it in a 56.0.x release before it merges. Then the two tests are turned back on.

DataFusion behavior changes checked against Comet

  • The floor/ceil return types and the result of map_extract for absent keys changed. Comet registers its own floor, ceil and map_extract, so neither change reaches Comet.
  • Missing Parquet null counts are now treated as unknown instead of zero. This is a correctness fix. It can disable some pruning on files written by parquet-rs before 53.1.

Not included (possible follow-ups)

How are these changes tested?

  • CometAggregateSuite "any_value of an array of strings reserves only what it keeps (issue ANY_VALUE memory regression in Comet 1.2.0 #7541)" runs the reproducer from ANY_VALUE memory regression in Comet 1.2.0 #7541 with a 16 MiB pool. It fails on main with the error from the issue ("Failed to acquire 52135888 bytes ... the pool limit is 16777216 bytes" in OrderedFinalAggregateStream) and passes on this branch.
  • spill_replay.rs has a new test for a fair share lowered between the merge's headroom check and the replay. It fails without the wrapper.
  • CometIcebergWriteActionSuite "native acceleration: NaN float/double manifest metrics match the JVM writer" runs again, now that the iceberg-rust revision includes fix(writer): skip NaN min/max when aggregating Parquet column bounds iceberg-rust#3539.
  • Locally on macOS aarch64: cargo fmt and cargo clippy --all-targets --workspace -- -D warnings are clean in native/ and native/native-executors. The native tests for the memory pools, Iceberg scan, delta_dv, aggregate planner, dynamic filters, merge_rows and xxhash64 pass.
  • CI runs the Comet suites on the default profile. Spark's own SQL tests, the Iceberg Spark tests and the other Spark profiles need the run-all-spark-profiles, run-spark-4.1-tests and run-iceberg-tests labels.

…store 0.14

Point the DataFusion dependencies at a git revision of apache/datafusion main
(350ca76505c9513d16e7dd9910bcd9bde2c911ed), which is on arrow/parquet 60.0.0 and
object_store 0.14.2. Bump arrow, parquet, object_store and object_store_opendal
(0.59.0, the first release on object_store 0.14) to match.

iceberg-rust main is still on arrow 59, and the head of apache/iceberg-rust#3257
(Arrow 60) is 42 commits behind the main revision Comet builds against. Pin
iceberg and iceberg-storage-opendal to a branch on the andygrove/iceberg-rust
fork that merges apache/iceberg-rust main (1f3bc34) into that PR.

Source changes for the new APIs:
- Arrow 60 makes the FFI_ArrowArrayStream callbacks private, so the
  decimal-realignment test builds the import with from_ffi_and_data_type.
- Parquet 60 moves the page index behind ParquetMetaData::page_index(), a
  PageIndexProvider with per-row-group access.
- DataFusion's coerce_int96 and coerce_int96_tz are typed (DFTimeUnit,
  ConfigTimeZone) instead of strings.
- OffsetBuffer::first/last return values and schema metadata is arrow's
  Metadata type.
- HashJoinExec::with_dynamic_filter_expr, SortExec::with_dynamic_filter_expr,
  ExecutionPlan::with_preserve_order and ParquetAccessPlan::into_overall_row_selection
  are deprecated; allow them where Comet still needs them.
- Arrow 60's MapBuilder names map children key/value by default, so make_map_c
  names them keys/values explicitly to keep exercising non-canonical names.
- datafusion-spark's SparkXxhash64 now ignores the hidden children of a NULL
  struct and keeps the running hash for nested dictionaries (apache/datafusion
  #25774, #25813), so the tests that pinned those differences assert equality.
…ore its test

Parquet 60 writes NaN min/max statistics for a float or double column chunk
holding only NaN, and iceberg-rust copies them into the manifest bounds, where
iceberg-java records none. Ignore the parity test that catches it, list the
issue under the Iceberg known issues and add it to the 1.3.0 upgrade guide.
It is tracked in #7242.
@andygrove andygrove added dependencies Pull requests that update a dependency file area:shuffle Shuffle (JVM and native) area:scan Parquet scan / data reading area:expressions Expression evaluation area:ffi Arrow FFI / JNI boundary area:Iceberg area:joins Join operators and dynamic filter pushdown area:Delta Delta Lake contrib (native scan, deletion vectors) labels Oct 26, 2026
@andygrove andygrove changed the title deps: use DataFusion main (350ca76) with Arrow/Parquet 60 and object_store 0.14 deps: upgrade to DataFusion 56.0.0 Oct 26, 2026
@andygrove andygrove added run-all-spark-profiles Run the Comet test suites against every Spark profile on this pull request, ahead of the merge queue run-iceberg-tests labels Oct 26, 2026
Point the DataFusion dependencies at the head of apache/datafusion branch-56
(1635ed94742c1c060852bc34dc6ebb2302241c7b), cut for the 56.0.0 release. It is
116 commits past the previous main revision and moves arrow/parquet to 60.1.0.

- Bump arrow, arrow-data, arrow-select and parquet to 60.1.0.
- Bump parking_lot to 0.13, which DataFusion's LazyBatchGenerator API now uses.
- Rename ArrowArrayStreamReader to RecordBatchStreamReader (deprecated alias).
- Use FixedSizeListArray::value_offset_at instead of the deprecated value_offset.
- Arrow 60.1.0 encodes the IPC frame in the RSS bounded-buffer test 2048 bytes
  smaller, so the test measures the frame size instead of hard-coding it.
DataFusion 56 coerces nested BINARY file fields to Utf8 before the parquet
reader, which skips UTF-8 validation for unannotated BINARY columns, so the
native scan panics in debug builds instead of decoding to U+FFFD. Ignore the
Rust and JVM tests from #7106 until apache/datafusion#27065 is fixed (#7469).
…d setters

DataFusion 56 deprecates HashJoinExec::with_dynamic_filter_expr and
SortExec::with_dynamic_filter_expr with no replacement. Comet does not need
them:

- A SortExec with a fetch creates its own TopK filter, so the runtime TopK
  takes that filter from dynamic_expressions_produced() and hands it to the
  Parquet reader below the sort, instead of installing one from outside.
- For joins, Comet reports to HashJoinExec::handle_child_pushdown_result
  what DataFusion's FilterPushdown rule would: the probe-side self filter
  was pushed down. The join then installs the filter itself after finding
  Comet's consumer in its probe subtree.
DataFusion 56 renames OrderedFinalAggregateStream to
ClusteredFinalAggregateStream (apache/datafusion#24697), and the memory
consumer with it. The fair pool's exemption for that consumer and the spill
replay pool's final-aggregate check match it by name, so on DataFusion 56
neither matched anymore. Match the new name, and update the tests, docs and
comments that use the old one.
@github-actions github-actions Bot added the area:memory Memory pools, reservations, OOM handling label Nov 3, 2026
# Conflicts:
#	native/native-executors/Cargo.lock
DataFusion 56 includes apache/datafusion#25383, which leaves room for a
final aggregate to read its spill files back, so SpillReplayPool is no
longer needed. It is also now harmful: #25383 holds replay headroom on a
sibling reservation while the spill merge picks its files, so the pool
took every refused read-buffer request for a replay and granted it. The
merge then opened every spill file and starved the next aggregate, which
failed the #6880 PartialMerge test with a 2 MiB pool.

The #6254 and #6857 read-back tests, which the pool was added for, pass
without it. The sort-merge join #6880 test now uses an 8 MiB pool,
because with DataFusion 56 its PartialMerge fits in 12 MiB or more
without spilling.

Closes #6583.
andygrove and others added 4 commits November 25, 2026 09:22
arrow 60.1 fixes and_not for inputs with a non-zero offset
(apache/arrow-rs#10698), so the and(.., not(..)) workaround is no longer
needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DataFusion 56 reads an omitted null_count as unknown
(apache/datafusion#25242), so the TopK no longer needs to clear incomplete
statistics before attaching its filter to the Parquet reader, or to skip
attachment when the scan has a static predicate. It now attaches through
try_attach_parquet_reader_filter like the min/max and join filters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Term 3 now describes the copies DataFusion 56's reader makes, and says the
formula keeps the larger file-level charge on purpose. The three tests that
use into_overall_row_selection say they check the formula, not the reader.
#7766 tracks measuring the reader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop DataFusion and arrow version history from comments the upgrade added
or made stale, and name what still pulls in zstd 0.13 in audit.toml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andygrove

Copy link
Copy Markdown
Member Author

Thanks @mbutrovich. Inline replies are in each thread. On the three comments outside the diff:

  • merge_rows.rs is back on and_not. arrow 60.1 has the fix, and not_matched_masks_with_sliced_markers passes with it. (f68b88b)
  • audit.toml now says zstd 0.13 comes from Comet's own native/shuffle, and from iceberg and its apache-avro 0.22, which both require zstd ^0.13. (b5c92ca)
  • The TopK null-count workaround is gone. With it turned off, both of its end-to-end tests (topk_preserves_unknown_null_counts_and_prunes_known_zero_counts and direct_null_check_retains_attachment_with_unknown_null_counts) pass on 56, so I removed topk/reader.rs and its unit test. The TopK now attaches through try_attach_parquet_reader_filter like the min/max and join filters. That also drops the check that skipped attachment when the scan has a static predicate, which existed only because clearing statistics could expose a file the predicate excluded. static_range_with_unknown_null_count_keeps_hiding_an_excluded_file (renamed from ..._skips_reader_attachment) now asserts the filter attaches and the static predicate still hides that file. (2447840)

The description is updated to match.

@viirya viirya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working through all of this so quickly. The follow-up issues, the #7541 test and the TopK cleanup all look good to me. I replied in three of the threads. The SpillReplayPool one is what's still blocking.

@sunchao sunchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andygrove, the write-up makes this easy to review. The source changes look mechanical and right to me. I have one likely issue in the fair pool and one thing to confirm for TopK.

1. fair_pool.rs, limited_to_its_share

spill_replay.rs now treats ClusteredSingleAggregateStream as a final aggregate, but the fair pool exemption still covers only ClusteredFinalAggregateStream[. The planner keeps Single for a PartialMerge over fully sorted input ("with fully sorted input Final has no spill path"). On DataFusion 56 that runs as ClusteredSingleAggregateStream with GroupClusteringMode::Full. If that stream, like the Final one, registers as spillable (the apache/datafusion#17334 workaround) but has no spill path when fully sorted, a refusal at the fair limit would fail the query. On 55 it ran as GroupedHashAggregateStream, which could spill.

Could you check whether it needs the same exemption? A test like a_sort_that_fills_the_share_leaves_room_for_the_final_aggregate_above_it, using a Single aggregate over a fully sorted input, would settle it.

2. topk.rs, build_runtime_sort

The reader gets the filter produced by sort, and then sort is rebuilt through replace_children. This relies on SortExec::with_new_children keeping the same DynamicFilterPhysicalExpr rather than creating a fresh one. Otherwise the reader's filter never tightens, which costs performance but not correctness. I believe live_threshold_reaches_remapped_parquet_column_and_prunes_later_groups would catch that. Could you confirm it ran on this branch? An explicit check that produced_topk_filter on the rebuilt sort returns the same expression id as the reader's filter would make it obvious.

3. Minor: join.rs, install_probe_filter

Is the .builder().build() round trip only to get an owned HashJoinExec from the Arc<dyn ExecutionPlan>? If so, would .clone() after the downcast be clearer? It would also avoid any doubt about whether the builder keeps the dynamic filter we just installed.

Heads-up on merge order: #6246 adds a parameter to init_datasource_exec and touches about 25 test call sites, so whichever of the two lands second needs a rebase. I checked their logic against each other. #6246 reads top-level strings as Binary and decodes them, which sidesteps the file-schema coercion that apache/datafusion#25193 makes recursive, so they shouldn't conflict beyond the signature.

andygrove and others added 3 commits November 29, 2026 15:35
…lReplayPool

In DataFusion 56 the replay reserves its empty table before the merge picks its spill files, so the merge's headroom requests were granted past the pool limit. A refusal now counts as the replay's only when the consumer's other reservations hold more than its first growth from zero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… as unable to spill

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eruns EnsureRequirements

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andygrove

Copy link
Copy Markdown
Member Author

Thanks @sunchao.

  1. ClusteredSingleAggregateStream doesn't need the exemption. It registers as able to spill only for GroupClusteringMode::Partial (clustered_single_stream.rs:173-193), so with Full it registers as unable to spill, and limited_to_its_share already checks it only against the pool. Only ClusteredFinalAggregateStream registers as spillable without a spill path (the External sort failing with non-spillable operators as input (RepartitionExec) datafusion#17334 workaround). I added a_single_aggregate_over_fully_sorted_input_is_limited_as_a_consumer_that_cannot_spill. It runs a real Single AggregateExec over a SortExec, asserts it runs Full and that its consumer registers as unable to spill and isn't limited to its share. It also runs a Single sorted on one of two keys, which registers as spillable and is limited. The limited_to_its_share doc now says why Single needs no exemption. I didn't base this on a_sort_that_fills_the_share_leaves_room_for_the_final_aggregate_above_it, because that test still passes with the Final exemption removed. an_ordered_final_aggregate_is_limited_as_a_consumer_that_cannot_spill is the one that covers the exemption. (9d7cb65)

  2. The rebuilt sort keeps the same filter. With Recompute, SortExec::replace_children calls rebuild_filter_for_current_partitioning, which keeps the DynamicFilterPhysicalExpr and builds only a new wrapper around it. live_threshold_reaches_remapped_parquet_column_and_prunes_later_groups already makes that check explicit: producer comes from the rebuilt runtime.sort, consumer is the reader's filter, and it asserts their expression_id() match and that their snapshot generations stay equal through the scan. It passed in rust-test on b5c92ca.

  3. HashJoinExec isn't Clone, because of its OnceAsync build side, so the builder is the way to get an owned one out of the Arc. HashJoinExecBuilder::from copies dynamic_filter and build() keeps it. broadcast_filter_reaches_parquet_reader_after_complete_build asserts that the reader's filter has the same expression id as the filter runtime.join produces after this round trip.

On #6246: thanks for checking the two against each other. Whichever lands second will rebase onto the new init_datasource_exec signature.

andygrove added a commit to apache/datafusion that referenced this pull request Nov 29, 2026
…to-string coercion (backport #27067) (#27754)

## Which issue does this PR close?

- Backport of #27067 to `branch-56`.
- Closes #27065 for the 56 line.

## Rationale for this change

#25193, which is in 56.0.0, made the Parquet file-schema coercion
recurse into nested types. So a nested BINARY field that the table
schema declares as a string is decoded straight into `Utf8`. The reader
validates UTF-8 only for columns with the `UTF8` annotation, so an
invalid value becomes an unvalidated `StringArray`: a panic in debug
builds and unsound data in release builds. #27067 fixed this on `main`.
DataFusion Comet needs it in a 56.0.x release before it can upgrade
(apache/datafusion-comet#7249).

## What changes are included in this PR?

A cherry-pick of #27067 (`9232c06`) with `-x`. It applied cleanly.

## What is the testing strategy for this PR?

The `schema_coercion` unit tests in `datafusion-datasource-parquet` and
`parquet.slt` pass on this branch.

## Are there any user-facing changes?

Nested BINARY fields are no longer coerced to strings by the file-schema
coercion, as on `main`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@andygrove
andygrove requested a review from mbutrovich November 30, 2026 03:18
@andygrove
andygrove marked this pull request as draft November 30, 2026 03:19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
comphead added a commit to comphead/arrow-datafusion-comet that referenced this pull request Dec 2, 2026
Builds on apache#7249, which tracks the DataFusion 56.0.0 release, with current
main merged in and the DataFusion dependencies moved to DataFusion's
main branch.

- datafusion crates on apache/datafusion's main branch (57.0.0-dev),
  locked at dc1245a
- datafusion-spark on the comphead/datafusion-spark
  df57-drop-legacy-map-dedup branch: apache/datafusion-spark 69af798
  plus one commit that reads the map key dedup policy only from its
  SparkOptions extension, because DataFusion main removed SparkOptions
  and ConfigOptions::spark from datafusion-common. 69af798 is the last
  apache/datafusion-spark revision that depends on DataFusion by git,
  since its main moved to the DataFusion 56 release from crates.io, and
  a [patch] section moves those dependencies to DataFusion main
- arrow and parquet 60.2.0, which DataFusion main requires
- iceberg and iceberg-storage-opendal as in apache#7249. The Iceberg scan
  reader that apache#7712 changed is built with iceberg-rust's
  ArrowReaderOptions, as apache#7249 builds it
- source changes for the Arrow 60, Parquet 60 and DataFusion API changes
  as in apache#7249

Co-authored-by: Andy Grove <agrove@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:aggregation Hash aggregates, aggregate expressions area:Delta Delta Lake contrib (native scan, deletion vectors) area:expressions Expression evaluation area:ffi Arrow FFI / JNI boundary area:Iceberg area:joins Join operators and dynamic filter pushdown area:memory Memory pools, reservations, OOM handling area:scan Parquet scan / data reading area:shuffle Shuffle (JVM and native) dependencies Pull requests that update a dependency file run-all-spark-profiles Run the Comet test suites against every Spark profile on this pull request, ahead of the merge queue run-iceberg-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ANY_VALUE memory regression in Comet 1.2.0

4 participants