-
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.
opt: index-accelerate equalities with JSON fetch expressions
This commit allows inverted indexes to be scanned to satisfy query filters in the form: `j->'a' = '1'`. The optimizer had previously supported this by normalizing these expressions into expressions with JSON containment operators, `@>`, but it lost this support when these normalization rules were found to produce inequivalent expressions. Note that query filters of several forms, which were previously accelerated via the incorrect normalization rules, are not accelerated as part of this commit, such as: j->'a' @> '{"x": "y"} j->'a'->'b' = '"c"' Release note: None
- Loading branch information
Showing
5 changed files
with
210 additions
and
56 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
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