-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the streamPartitioning and localProperty for table scan
Currently we add sorted-columns to both streamPartitionColumns and localProperties only when the bucket columns are the same as the prefix of the sort columns, there are two issues 1.the when condition is too strict and eliminates some cases where we can also expose those properties 2.adding sorted-columns as streamPartitionColumns also tighten the condition, for example table that is bucketed by A and sorted by <A, B>; using <A, B> as the streamPartitionColumns is a more strict rule when we should only use A instead Instead now we: Add bucketed-by columns to streamPartitionColumns Add sorted-by columns to localProperty
- Loading branch information
1 parent
547cb4d
commit 2a040a2
Showing
3 changed files
with
199 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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