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.
Browse files
Browse the repository at this point in the history
63706: flowinfra: remove remnants of RunSyncFlow DistSQL RPC r=yuzefovich a=yuzefovich We recently removed `RunSyncFlow` RPC call of DistSQL, but a couple of things were missed. This commit cleans up the outbox based on that removal, removes `SetupSyncFlow` method as well as adds some comments. Release note: None 63780: opt: allow IN subquery to be converted to lookup join r=RaduBerinde a=RaduBerinde #### opt: add opttester facility to test placeholder assignment We like to assume that the result of building a memo with placeholders followed by AssignPlaceholders is equivalent to building the query with the values directly. This is not necessarily the case - it is possible that some normalization rules act on a higher part of the tree in a way that would not happen if we had fully normalized a lower part of the tree. This commit adds two new opttester directives: `assign-placeholders-norm` and `assign-placeholders-opt`. These take a query that has placeholders and simulates the prepared query planning path. We use these facilities to add some tests that reproduce a customer issue. Release note: None #### opt: allow IN subquery to be converted to lookup join This change adds a rule that handles a case which prevents Exists subqueries from becoming lookup joins. Fixes cockroachdb#43198. Release note (performance improvement): certain queries containing `<tuple> IN (<subquery>)` conditions may run significantly faster. Co-authored-by: Yahor Yuzefovich <[email protected]> Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information
Showing
15 changed files
with
601 additions
and
227 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.