-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] Fix partition spec bugs from old query planner (#1372)
Fixes partition specs referencing the wrong columns through Projections that change columns. This is the general case of #596. 1. Partition specs now check that the columns they reference still exist. 2. If it does, it will make sure to reference the new name of the column (preferring the same name if possible). 3. If any columns do not exist, the partitioning is destroyed (partition spec set to Unknown). --------- Co-authored-by: Xiayue Charles Lin <[email protected]>
- Loading branch information
1 parent
0c6b8a9
commit cda7e4a
Showing
5 changed files
with
285 additions
and
20 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
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
Oops, something went wrong.