-
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.
58222: opt: use equalities to constrain inverted join prefix columns r=mgartner a=mgartner Non-inverted prefix columns can now be constrained by equality constraints to generate inverted joins. For example, an inverted join is now generated for the following query: CREATE TABLE a (a INT, j JSON) CREATE TABLE b (b INT, j JSON, INVERTED INDEX (b, j)) SELECT * FROM a JOIN b ON b = a AND b.j @> a.j Previously, only constant filters could constrain non-inverted prefix columns. Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
2 changed files
with
436 additions
and
219 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
Oops, something went wrong.