comphead opened a new pull request, #7798:
URL: https://github.com/apache/datafusion-comet/pull/7798
## Which issue does this PR close?
None. Related to #5645 (the iceberg-rust pin policy), which stays open.
This builds on #7249 and has to merge after it. iceberg-rust `main` moved to
Arrow 60 in apache/iceberg-rust#3257, and Comet `main` stays on Arrow 59 until
#7249 lands, so no newer iceberg-rust revision builds against `main` today.
Only the last two commits are new here. The rest are #7249's.
## Rationale for this change
#7249 pins iceberg-rust `219078c` (2026-11-19). This moves the pin to
`3cef7b6`, the head of iceberg-rust `main` on 2026-11-28, so Comet's suites run
against the newest iceberg-rust. The 12 new commits:
- Reads: apache/iceberg-rust#3540 (keep matching rows when filtering a
promoted column), apache/iceberg-rust#3302 (evaluate filters on a column
missing from a data file against its identity partition value or
initial-default), apache/iceberg-rust#3522 (promote date column bounds to
timestamp), apache/iceberg-rust#3700 (check the AGS1 stream header on read)
- Spec and transactions: apache/iceberg-rust#2916 (UUID partitions),
apache/iceberg-rust#3635 (manifest schema id), apache/iceberg-rust#3701 (one
requirement per value)
- FileIO: apache/iceberg-rust#2651 (vended storage credentials with
per-prefix FileIO)
- Dependencies: apache/iceberg-rust#3728 (opendal 0.59),
apache/iceberg-rust#3781 (aes-gcm 0.11, which detects the ARMv8 AES
instructions at runtime), apache/iceberg-rust#3758 (url 2.5.9 for
RUSTSEC-2026-0592)
- Docs: apache/iceberg-rust#3755
## What changes are included in this PR?
Two commits on top of #7249 (`654dbb7`):
1. **Merge of `main`.** Brings in the 8 commits `main` gained since
`datafusion-56` last merged it (up to #7708), with two conflicts resolved:
- `native/native-executors/Cargo.lock`: both sides add
`datafusion-comet-local` (#7739 on `main`), and the text merge listed it twice,
which cargo rejects. The merge keeps the `datafusion-56` lockfile, which
already has it.
- `semi_join_reduction.rs`, new in #7361, uses `ArrowArrayStreamReader`,
which Arrow 60.1 deprecates, so clippy fails. It now uses
`RecordBatchStreamReader`, as the rest of #7249 does.
2. **`deps: bump iceberg-rust to the head of main (3cef7b6)`.**
- `iceberg` and `iceberg-storage-opendal` move to `3cef7b6`.
- `opendal` goes from 0.58 to 0.59.5 and `object_store_opendal` from
0.59.0 to 0.60.5. Comet's `opendal` has to be the copy
`iceberg-storage-opendal` uses, which is 0.59 since apache/iceberg-rust#3728.
`iceberg_location_scoped.rs` recognizes permission errors by downcasting to
`opendal::Error`, and that never matches an error built by another opendal
version. The HDFS object store also hands Comet's `Operator` to
`object_store_opendal`, whose 0.60 series is the one on opendal 0.59 and
object_store 0.14. The `core/Cargo.toml` comment now says to keep the versions
together.
- `native/Cargo.lock` and `native/native-executors/Cargo.lock` move only
the iceberg-rust source and what its new requirements force (`cargo update -p
iceberg -p iceberg-storage-opendal`). That is opendal 0.59.5, aes-gcm 0.11 and
url 2.5.9. No crate gains a second version, and `asyncband` and `ctr` drop
theirs. A full `cargo update` would change 206 entries, including arrow 60.2,
zstd 1.6.0 and `regex` (#5813), so it is left out.
- The pin comment now names iceberg-rust 0.11.0, the newest release,
which still requires arrow/parquet ^58.4.
- No source changes. iceberg-rust's `public-api.txt` only gains
`FileIOBuilder::with_config`, `StorageConfig::builder` and `StorageCredential`.
## How are these changes tested?
Existing tests. Checked locally on macOS arm64:
- `cargo clippy --all-targets --workspace -- -D warnings`, and `-p
datafusion-comet --all-targets` with `--features python-udf` and with
`--features jemalloc`
- `cargo clippy --manifest-path native/native-executors/Cargo.toml
--all-targets -- -D warnings`
- `cargo fmt --all -- --check` for both workspaces
- `cargo metadata --locked` for `native`, `native/native-executors` and
`contrib/delta/native`
The Rust tests and the JVM suites were not run locally.
`recognizes_a_provider_failure_in_the_opendal_storage` in
`iceberg_location_scoped.rs` covers the opendal error check. The contributor
guide asks for the write suites and the Iceberg Spark tests on a pin bump, so
this PR has the `run-iceberg-tests` label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]