forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xform: fix missing derived terms from cockroachdb#90599
This commit fixes an oversight in cockroachdb#90599, which derives t1.crdb_region = t2.crdb_region join terms from FK constraints for lookup join. That PR only examined strict join keys in the lookup relation. However, the parent table may be the input relation. The fix is to also perform the strict join key check with the input and lookup tables swapped when building a lookup join. Release note: None
- Loading branch information
Mark Sirek
committed
Dec 31, 2022
1 parent
6b60a80
commit b965edf
Showing
3 changed files
with
54 additions
and
25 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