Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash with ORCA for partition tables with rewritten rules
Earlier, the check for identifying if a table is randomly distributed relied on the policy to be not null, however if we have rewritten rules on child partition table, the table storage is marked as RELSTORAGE_VIRTUAL which can lead to null policy. Should the table be marked with virtual storage, that's a different issue though.
- Loading branch information
1 parent
46dadf4
commit 0483e2a
Showing
4 changed files
with
43 additions
and
2 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