NoahKusaba opened a new pull request, #2941:
URL: https://github.com/apache/datafusion-ballista/pull/2941
# Which issue does this PR close?
Part of #2881. This is the dependency bump that lets ballista-iceberg use
the logical plan hook from #2940. Moving the pinning into a hook is a separate
PR once #2940 merges.
# Rationale for this change
ballista-iceberg was held at `2f4938ef`, the last Ballista commit on
DataFusion 55, because iceberg-datafusion didn't support DataFusion 56. It does
now (apache/datafusion-iceberg#99), so the integration can follow `main` again.
# What changes are included in this PR?
- **Pins.**
- Ballista crates: moved to `main` (`446fa54c9`).
- iceberg-datafusion: moved to its `main` (`73fc3bb`).
- iceberg-rust: moved to the revision iceberg-datafusion pins (`90e454aa`).
- DataFusion: moved to 56.
- Arrow: moved to 60.2. `arrow-flight`'s `flight-sql-experimental` feature
is now called `flight-sql`.
- The lockfile is refreshed. All direct dependencies were already on their
latest major versions.
- **Scans use iceberg-datafusion's new scan API.** `IcebergDataSource` now
reads from a `FileScanTaskProvider`.
- `PinnedTable::scan` builds its scan the same way
`IcebergStaticTableProvider` does.
- The physical codec reads the table, snapshot and predicate from the lazy
provider, and rebuilds that provider on the executor.
- **Eagerly planned scans are refused.** With
`iceberg.execution.eager_file_planning` set, a scan lists its files on the
client. Ballista can't send that list yet, so encoding fails with an error that
names the option. This is documented under Limitations.
- **The `UNION` limitation is gone.** `main` includes #2914, so the adaptive
planner now unions scans on a split stage correctly, sorted or not (#2852,
#2854).
- The test that expected an error now runs the same check under both
planners.
- The limitation is dropped from the crate docs.
- **Test updates.**
- Static and metadata table provider constructors are now synchronous.
- Scan display output now includes `provider=lazy`.
# Are these changes tested?
Yes. `cargo fmt --check`, `cargo clippy --all-targets --all-features
--locked -- -D warnings` and `cargo test --all-features --locked` pass in
`integrations/iceberg`, including the S3 and REST catalog test, which runs in
Docker.
New tests:
- `should_refuse_eagerly_planned_scans`: covers the new refusal.
- `should_union_scans_on_a_split_stage_with_the_adaptive_planner`: replaces
the test that expected the adaptive planner to fail.
# Are there any user-facing changes?
- ballista-iceberg now requires DataFusion 56 and Arrow 60.
- A `UNION` under the adaptive planner now works.
- Eager file planning, a new option in iceberg-datafusion, isn't supported
yet.
ballista-iceberg is unpublished (`publish = false`), so there is no API
change for crates.io users.
--
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]