GraphScope icon indicating copy to clipboard operation
GraphScope copied to clipboard

fix(interactive): Fix Bugs of `Where Subquery` in Gremlin

Open shirly121 opened this issue 1 year ago • 2 comments

What do these changes do?

fix bugs of where subquery in gremlin:

g.V().as("a").out().as("b").select("a", "b").where(__.as("a").out("knows").as("b"))
g.V().as("a").out().in().as("b").select("a", "b").where(__.as("b").has("name", "marko"))

Related issue number

Fixes

shirly121 avatar Apr 26 '24 04:04 shirly121

这个where感觉有点像match的意思,而且和Cypher的where语句的功能是一致的,目前Cypher实现成 inner Join,语义上实际应该是semi-join。cypher和gremlin的这两个语法应该要统一实现

@shirly121 Please create a new issue for this before this pr can be merged.

longbinlai avatar May 06 '24 08:05 longbinlai

这个where感觉有点像match的意思,而且和Cypher的where语句的功能是一致的,目前Cypher实现成 inner Join,语义上实际应该是semi-join。cypher和gremlin的这两个语法应该要统一实现

@shirly121 Please create a new issue for this before this pr can be merged.

https://github.com/alibaba/GraphScope/issues/3766

shirly121 avatar May 06 '24 11:05 shirly121