Open zhengyingying opened 1 year ago
Hi, I find a similar bug in the following test case, where the exception is thrown when we remove the FilterRankingStrategy
. I think the root cause is the same as the above test case.
gremlin> :> hugegraph.traversal().V().where(values('price').is(inside(0.793811421704601, 1.345171808E9))).has('price', 3.254615)
==>[id:712320049687298049,label:product,type:vertex,properties:[name:product1,price:3.254615]]
gremlin> :> hugegraph.traversal().withoutStrategies(FilterRankingStrategy).V().where(values('price').is(inside(0.793811421704601, 1.345171808E9))).has('price', 3.254615)
java.lang.NumberFormatException
I can get the correct result in TinkerGraph. So can it be confirmed as a real bug?
Thanks for your report, we need to improve it.
Bug Type (问题类型)
gremlin (结果不合预期)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
I create two vertices.
When I query property
price
usingwhere()
, it throws an exception, while I can query the correct result usinghas()
.When I drop vertex
product2
, I can get the correct result.Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response