-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
49822: opt: change JoinMultiplicity from a Relational prop to a join field r=DrewKimball a=DrewKimball Previously, the JoinMultiplicity property was stored as a Relational prop. This is a problem because all expressions in a memo group share the same Relational props during exploration, and there are exploration rules that can flip a join's left/right multiplicity. This patch instead stores JoinMultiplcity as a join field that is initialized during construction of the join. This fixes the shared Relational props issue, and also makes it possible for JoinMultiplicity to aid in calculating other logical properties. Fixes #49821 Release note: None Co-authored-by: Drew Kimball <drewk@cockroachlabs.com>
- Loading branch information
Showing
73 changed files
with
1,072 additions
and
301 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.