New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GAIA Compiler] Build algebra layer structures for expressions #2461
Conversation
} catch (IllegalArgumentException e) { | ||
return; | ||
} | ||
Assert.fail("tag 'a' should not exist"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tag 'a' does not exist
is a better description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
public void equal_plus_test() { | ||
RexNode var = builder.source(mockSourceConfig("a")).variable("a", "age"); | ||
RexNode plus = builder.call(GraphStdOperatorTable.PLUS, var, builder.literal(10)); | ||
RexNode equal = builder.call(GraphStdOperatorTable.EQUALS, plus, builder.literal(30)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to your comment, this should be GreaterThan
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the comment is fixed
@@ -76,7 +76,7 @@ | |||
"comment": "name" | |||
}, | |||
{ | |||
"id": 3, | |||
"id": 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these ids changed?
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2461 +/- ##
===========================================
- Coverage 73.22% 39.95% -33.27%
===========================================
Files 88 88
Lines 9769 9769
===========================================
- Hits 7153 3903 -3250
- Misses 2616 5866 +3250
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What do these changes do?
variable(..)
inGraphBuilder.java
to build algebra layer structures for expressions.NameOrId
to denote property key as name or id inRexGraphVariable
.Related issue number
Fixes