Open llooFlashooll opened 1 year ago
Sorry, not sure which is the key step in your reproduction process.
I think is the middle E()
here.
g.E().inV().bothE('el0').fold().as('x').E().where(__.count()).where(within('x'))
^
Bug Type (问题类型)
other exception / error (其他异常报错)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
I first randomly create a graph. Then when I run the following query:
g.E().inV().bothE('el0').fold().as('x').E().where(__.count()).where(within('x'))
is thrown with an exception. I think this query is syntactically correct, but I keep triggering this kind of problem.Expected behavior: No exception should be expected to throw. Or futher messages or prompts should be thrown.
Actual behavior: A
groovy.lang.MissingMethodException
is thrown. And I'm not really sure whether this problem should happen so I report this. I succeed this kind of collection transition when replacingg.E()
withg.V()
. So I guess there's some problems ofg.E()
syntax, and maybe it doesn't support midtermE()
syntax.Vertex/Edge example (问题点 / 边数据举例)
Steps to reproduce: We create a graph with 10 nodes and 20 edges. We try to make it clear to reproduce the bugs, {}hope{} to not cause much inconvenience to your reviewing, but we believe the problem does exist. Following the following graph data generation query, we can reproduce the bugs:
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)