-
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.
66989: roachtest: check metrics during multi-region TPC-C runs r=ajstorm a=otan See individual commits for details. Resolves #65911 Resolves #66953 67263: opt,ccl: eliminate Project inside GroupBy, add tests for validation of partial unique indexes r=rytaft a=rytaft **opt: add a test-only check for `NullsAreDistinct` in `GroupingPrivate`** This commit adds a check that `NullsAreDistinct` is true iff the grouping operator is `UpsertDistinctOn` or `EnsureUpsertDistinctOn`. Release note: None **opt: add exploration rule to eliminate `Project` inside `GroupBy`** This commit updates the exploration rule `EliminateIndexJoinInsideGroupBy` and renames it to `EliminateIndexJoinOrProjectInsideGroupBy`. The rule now removes either an `IndexJoin` or `Project` operator if it can be proven that the removal does not affect the output of the parent grouping operator. Removal of a `Project` is needed in cases where the partial index predicate constrains some columns to be constant, and therefore provides those columns as constant projections. If the projected columns are not actually needed by the `GroupBy`, however, the `Project` is not necessary and interferes with other rules matching, such as `SplitGroupByScanIntoUnionScans`. Informs #65473 Release note (performance improvement): Improved the efficiency of validation for some partial unique indexes in `REGIONAL BY ROW` tables by improving the query plan to use all streaming operations. **ccl: add tests for validation of partial unique indexes** This commit adds tests to ensure that the expected query plan is used to validate new partial unique indexes in `REGIONAL BY ROW` tables. Informs #65473 Release note: None Co-authored-by: Oliver Tan <[email protected]> Co-authored-by: Rebecca Taft <[email protected]>
- Loading branch information
Showing
19 changed files
with
1,512 additions
and
280 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.