Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push down PartialSortNode and PartialTopNode to iceberg #18139

Open
1 of 2 tasks
rice668 opened this issue Jul 5, 2023 · 0 comments
Open
1 of 2 tasks

Push down PartialSortNode and PartialTopNode to iceberg #18139

rice668 opened this issue Jul 5, 2023 · 0 comments

Comments

@rice668
Copy link
Contributor

rice668 commented Jul 5, 2023

The rough draft idea is: if the computing engine(trino) can obtain the sorting information of the shard, the statistical information of the file is recorded in iceberg’s meta, and sort_order_id != 0 indicates that the file has been sorted. Then the steps of PartialSort or PartialTopN can be omitted, and in when reading data, the sorting operation in the shard can be avoided. I've got an initial plan and implemented some basic code.

The specific work can be decomposed into the following two tasks

Tasks

Preview Give feedback
@rice668 rice668 changed the title Push down sortNode(partial) or topNNode(partial) to iceberg [draft] Push down sortNode(partial) or topNNode(partial) to iceberg Jul 22, 2023
@rice668 rice668 changed the title [draft] Push down sortNode(partial) or topNNode(partial) to iceberg [draft and in progress] Push down sortNode(partial) or topNNode(partial) to iceberg Jul 22, 2023
@rice668 rice668 changed the title [draft and in progress] Push down sortNode(partial) or topNNode(partial) to iceberg [draft and in progress] Push down PartialTopNode to iceberg Jul 24, 2023
@rice668 rice668 changed the title [draft and in progress] Push down PartialTopNode to iceberg [draft and in progress] Push down PartialSort and PartialTopNode to iceberg Jul 24, 2023
@rice668 rice668 changed the title [draft and in progress] Push down PartialSort and PartialTopNode to iceberg [draft and in progress] Push down PartialSortNode and PartialTopNode to iceberg Jul 24, 2023
@rice668 rice668 changed the title [draft and in progress] Push down PartialSortNode and PartialTopNode to iceberg [in progress] Push down PartialSortNode and PartialTopNode to iceberg Jul 24, 2023
@rice668 rice668 changed the title [in progress] Push down PartialSortNode and PartialTopNode to iceberg Push down PartialSortNode and PartialTopNode to iceberg Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant