Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2.3k
Preserve all of the valid orderings during merging.#8169
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -472,9 +472,6 @@ impl ExecutionPlan for RepartitionExec { | ||
| if !self.maintains_input_order()[0] { | ||
| result.clear_orderings(); | ||
| } | ||
| if self.preserve_order { | ||
| result = result.with_reorder(self.sort_exprs().unwrap_or_default().to_vec()) | ||
| } | ||
Comment on lines
-475
to
-477
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For other reviewers: This is the key change that avoids losing alternative orderings. | ||
| result | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is another core change, right? It preserves all the possible orderings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the place where we concatenate all valid orderings so that they can be preserved during merge