-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(interactive): Distinguish 'label equals' or 'unique key equals' f…
…rom Filter Conditions (#3285) <!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? 1. distinguish 'label equals' or 'unique key equals' from filter conditions, 'label equals' is fused to decide the label type while 'unique key equals' is fused for index predicate. 2. convert index predicate from RelNode to ir core. 3. handle special cases when converting 'SEARCH' operator from RelNode to ir core. Specifically, if 'SEARCH' happens in index predicate or the operand of 'SEARCH' is a continuous range, it will be converted to multiple conditions connected by 'and' or 'or'. These conversions may not necessarily be reasonable, at least in order to make ir core supported. <!-- Please give a short brief about these changes. --> ## Related issue number <!-- Are there any issues opened that will be resolved by merging this change? --> Fixes --------- Co-authored-by: Longbin Lai <[email protected]>
- Loading branch information
1 parent
ff8a795
commit 944a645
Showing
16 changed files
with
1,377 additions
and
144 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
62 changes: 0 additions & 62 deletions
62
...ine/compiler/src/main/java/com/alibaba/graphscope/common/ir/rex/RexNodeTypeRefresher.java
This file was deleted.
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
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.