Closed zhengyingying closed 2 years ago
Could you please add reproduction steps including schema creation and data loading?
Did you do this on gremlin console? It seems groovy interprets 3.49203472E8 as java.math.BigDecimal
which is not a supported data type in JanusGraph. To be safe, always explicitly use 3.49203472E8d
.
@porunov We before met this problem, but not save data. I will provide the reproduction steps when we met this problem again.
@li-boxuan Yes, I did this query on gremlin console. It is strange that when we executed g.V().has('vp2', 3.49203472E8)
, no exception was throw. Maybe it is not safe using 3.49203472E8
.
Please include configurations and logs if available.
For confirmed bugs, please report:
g.V().out('el0').has('vp2', 3.49203472E8)
, we want to get the required vertices.java.lang.NumberFormatException
was throw. We found that when we add the type DOUBLE explicitly, i.e.,g.V().out('el0').has('vp2', 3.49203472E8d)
, we can get the result. And we also can get result with the query statementg.V().has('vp2', 3.49203472E8)
.Stack Trace (if you have one)