alibaba / alibaba/GraphScope

The `GraphBuilder` test cases can be categorized into two test groups of Algebra and Expression

Open
#3,599 1 comment 0 reactions 1 assignee Claimed by @shirly121 View on GitHub
component:gie stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

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 the `eval()` 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.