-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
51232: opt: add helper functions for partial indexes and scans r=RaduBerinde a=mgartner This commit adds helper functions to determine if indexes are partial indexes, if scans operate on partial indexes, and for retrieving partial index predicate expressions. Within the optimizer `TableMeta.PartialIndexPredicates` is now the source of truth that should be used for answering these types of questions. The catalog `Index.Predicate` function should only be used by the optbuilder. This commit also makes certain that there is an entry in the `TableMeta.PartialIndexPredicates` map for every partial index on the table, even if the partial index predicate is non-immutable. This makes the map a safe source of truth for determining which indexes are partial. Release note: None 51299: roachtest: update psycopg expected fail list r=rafiss a=rafiss Also fix the regex for parsing test results. fixes #51234 fixes #51214 fixes #51113 fixes #51051 fixes #51049 fixes #50793 Release note: None Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Rafi Shamim <[email protected]>
- Loading branch information
Showing
7 changed files
with
256 additions
and
16 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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