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
feat(interactive): Support Unfold step in GIE #3143
Conversation
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Add union+identity test && Identity e2e Test
Committed-by: Yunkai Lou from Dev container
remove std output in test
Committed-by: Yunkai Lou from Dev container
fix java format issues
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
.gitignore
Outdated
@@ -69,6 +69,7 @@ interactive_engine/gaia-adaptor/dependency-reduced-pom.xml | |||
interactive_engine/executor/Cargo.lock | |||
interactive_engine/executor/engine/pegasus/benchmark/src/graph/storage/clickhouse/pb_gen/* | |||
interactive_engine/executor/ir/Cargo.lock | |||
interactive_engine/compiler/core |
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.
This is not necessary.
@@ -0,0 +1,3399 @@ | |||
// | |||
//! Copyright 2020 Alibaba Group Holding Limited. |
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.
this file should not be included.
@LoadGraphWith(LoadGraphWith.GraphData.MODERN) | ||
@Test | ||
public void g_V_fold_a_unfold_values() { | ||
Traversal<Vertex, Object> traversal = this.get_g_V_fold_a_unfold_values(); |
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.
Can we check whether the tag a
is still in the record of the unfolded results?
add test
Committed-by: Yunkai Lou from Dev container
Committed-by: Yunkai Lou from Dev container
Change test file
Committed-by: Yunkai Lou from Dev container
remove unfold op test
Committed-by: Yunkai Lou from Dev container
remove logical.rs.orig
Committed-by: Yunkai Lou from Dev container
add the optimization about select.as.unfold as a strategy
// System.out.println(step); | ||
// System.out.println(opList); | ||
// System.out.println(step.getLabels()); | ||
|
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.
是否可以将这段代码实现为一个strategy?我理解这里做的事情是将select('a').unfold()的组合转换为unfold(tag='a'),这个看起来更适合实现为strategy,具体可以参考实现https://github.com/alibaba/GraphScope/blob/main/interactive_engine/compiler/src/main/java/com/alibaba/graphscope/common/intermediate/strategy/TopKStrategy.java
...e_engine/compiler/src/main/java/com/alibaba/graphscope/gremlin/InterOpCollectionBuilder.java
Outdated
Show resolved
Hide resolved
Committed-by: Yunkai Lou from Dev container
java format
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3143 +/- ##
==========================================
- Coverage 42.29% 42.05% -0.24%
==========================================
Files 101 101
Lines 10907 10985 +78
==========================================
+ Hits 4613 4620 +7
- Misses 6294 6365 +71
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Committed-by: Yunkai Lou from Dev container
cancel optimization for select.as.unfold
What do these changes do?
support Unfold step in GIE
Related issue number
#3129
Fixes