The GraphBuilder
test cases can be categorized into two test groups of Algebra and Expression
#3599
Labels
GraphBuilder
test cases can be categorized into two test groups of Algebra and Expression
#3599
Now in
interactive_engine/compiler/src/test/java/com/alibaba/graphscope/gremlin/antlr4x/GraphBuilderTest.java
, there are two kinds of test cases.The Algebra case: For example,
RelNode node = eval("g.V().has('name', containing('mar'))")
, as introduced by theeval()
function.The Expression case: For example,
RexNode expr = rexBuilder.makeIn( builder.source(new SourceConfig(GraphOpt.Source.VERTEX)) .variable(null, GraphProperty.ID_KEY), ImmutableList.of(builder.literal(0), builder.literal(72057594037927937L)));
,as introduced by
RexBuilder
directly.We can separate these two kinds of test cases into two individual tests.
The text was updated successfully, but these errors were encountered: