【发布时间】:2020-06-24 10:36:16
【问题描述】:
我正在尝试执行数学查询。
gts.V()
.hasLabel("account")
.has("id",42)
.both("account_label1").as("label1")
.and(__.identity()
.project("a","b")
.by(__.identity()
.both("label1_label2")
.both("label2_label3")
.values("createTime"))
.by(__.identity()
.both("label1_label4")
.both("label4_label5")
.values("launchTime"))
.math("floor((a-b)/(86400))").is(100))
.select("label1")
.toList()
以上查询失败并出现错误
The provided traverser does not map to a value: v[137]->[IdentityStep, VertexStep(BOTH,[label1_label2],vertex), VertexStep(BOTH,[label2_label3],vertex), NoOpBarrierStep(2500), PropertiesStep([createTime],value)]
- 为什么 gremlin 注入 NoOpBarrierStep?
-
NoOpBarrierStep(2500)是什么意思? - 什么是相同的正确 gremlin 查询?
【问题讨论】:
标签: gremlin tinkerpop tinkerpop3