Expected behavior 期望表现
使用get和post,查询同一条gremlin,结果应该一致
Actual behavior 实际表现
使用post请求查询带path()的gremlin,返回结果异常,均为{"empty":false,"simple":true}
Steps to reproduce the problem 复现步骤
1. post请求查询body:
//api
http://ip:8080/graphs/xgraph/jobs/gremlin
//body
{"gremlin": "g.V().hasLabel('file', 'network').has('uid', within(180550774,2653739512)).aggregate('x').in('drop', 'visit').path().by('uid')", "bindings": {}, "language": "gremlin-groovy"}
通过taskid查询结果,关注返回值task_result,均为{"empty":false,"simple":true}

2. 通过get请求查询同一条gremlin:
//api
http://ip:8080/gremlin?gremlin=xgraph.traversal().V().hasLabel('file').has('uid', within(180550774,2653739512)).in().path()
结果

3.使用其他gremlin语句查询path():
get:

post查询同一条gremlin语句,仍为异常结果

Specifications of environment 环境信息
- hugegraph version: {0.11}
- hugegraph backend: {rocksdb}
Expected behavior 期望表现
使用get和post,查询同一条gremlin,结果应该一致
Actual behavior 实际表现
使用post请求查询带path()的gremlin,返回结果异常,均为{"empty":false,"simple":true}
Steps to reproduce the problem 复现步骤
1. post请求查询body:
通过taskid查询结果,关注返回值task_result,均为{"empty":false,"simple":true}

2. 通过get请求查询同一条gremlin:
结果

3.使用其他gremlin语句查询path():
get:
post查询同一条gremlin语句,仍为异常结果

Specifications of environment 环境信息