[branch-0.10] Add opt-in eager scan planning for DataFusion scans - #27
Merged
Merged
Conversation
toutane
force-pushed
the
charlesantoine.leger/eager-scan-planning
branch
from
July 27, 2026 15:33
50e4d91 to
511a62a
Compare
(cherry picked from commit f0b4c27)
(cherry picked from commit 8ae6eb6)
(cherry picked from commit 2380cbf)
Second review round for apache#2671.
toutane
force-pushed
the
charlesantoine.leger/eager-scan-planning
branch
from
July 27, 2026 16:01
511a62a to
9cc3b87
Compare
toutane
marked this pull request as ready for review
July 28, 2026 12:17
gabotechs
approved these changes
Jul 29, 2026
Base automatically changed from
geoffrey.claude/runtime-file-io
to
branch-0.10.0
July 29, 2026 13:04
toutane
added a commit
that referenced
this pull request
Jul 29, 2026
* feat(datafusion): add opt-in eager scan planning (cherry picked from commit f0b4c27) * test(datafusion): cover lazy and eager scan planning (cherry picked from commit 8ae6eb6) * fix(datafusion): address eager scan review feedback (cherry picked from commit 2380cbf) * fix(datafusion): address eager scan review feedback Second review round for apache#2671. --------- Co-authored-by: Geoffrey Claude <geoffrey.claude@datadoghq.com>
toutane
added a commit
that referenced
this pull request
Jul 29, 2026
* feat(datafusion): add opt-in eager scan planning (cherry picked from commit f0b4c27) * test(datafusion): cover lazy and eager scan planning (cherry picked from commit 8ae6eb6) * fix(datafusion): address eager scan review feedback (cherry picked from commit 2380cbf) * fix(datafusion): address eager scan review feedback Second review round for apache#2671.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This PR is the second PR in the
branch-0.10stack inDataDog/iceberg-rust:|- [branch-0.10] Add opt-in eager scan planning for DataFusion scans #27
|-- [branch-0.10] Expose IcebergTableScan constructor and accessors #28
This stack is consumed by
dd-sourcein the Iceberg 0.10 migration PR: https://github.com/ddoghq/dd-source/pull/31506That
dd-sourcePR uses branchcharlesantoine.leger/iceberg-rust-0.10-eager-planningand depends on this scan-planning behavior as part of the upgrade toiceberg-rust0.10 with eager scan planning.This PR is required because it brings back eager DataFusion file scan planning behavior that had already been merged into
DataDog/iceberg-rustonbranch-0.9, notably through: #18Changes
Adds an opt-in DataFusion config flag,
iceberg.enable_eager_scan_planning, that lets Iceberg plan file scan tasks duringTableProvider::scan()instead of deferring planning to execution.When enabled, planned file tasks are grouped across DataFusion target partitions before building the
IcebergTableScan. The default behavior remains lazy scan planning.Cherry-picks and sources
Cherry-picked commits:
24e688bafrom apache@0785d94:feat(datafusion): add opt-in eager scan planninga3014952from apache@29acf0f:test(datafusion): cover lazy and eager scan planning917666e8from apache@c6f7a1f:fix(datafusion): address eager scan review feedback9cc3b876from apache@1b0504d:fix(datafusion): address eager scan review feedbackThe same work is being contributed upstream in Apache PR apache#2671: apache#2671
JIRA: https://datadoghq.atlassian.net/browse/QECO-1530