datafusion-contrib / datafusion-contrib/datafusion-distributed
[Iceberg] Support sort-order pushdown
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 139
- Forks
- 67
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 35
Description
Part of #599.
Allow IcebergDataSource to support sort-expression pushdown where this can be guaranteed by Iceberg table metadata.
Essentially, implementing this TODO comment in the code:
This should only advertise a sort order when it is valid for all returned data.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the TODO in iceberg/src/data_source.rs around lines 296-297 and inspect how Iceberg table metadata is exposed to IcebergDataSource. Trace the existing sort-expression pushdown path and determine when metadata guarantees the order for every returned row. Done means the data source advertises sort order only when that guarantee holds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100