forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
140034: opt: do not project extra columns above partial index scans r=mgartner a=mgartner The `GeneratePartialIndexScans` rule no longer projects all non-indexed columns held constant by the partial index predicate. Now, only columns produced by the original scan are produced. This fixes an issue where the generated Project expression could have more output columns than the other expressions in its group, causing a test-only assertion to fail. Fixes cockroachdb#140019 There is no release note because this has caused no known correctness bugs. Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 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