Lei Tang created TINKERPOP-2694:
-----------------------------------
Summary: Bug of TinkerGraph gremlin api "has()"
Key: TINKERPOP-2694
URL: https://issues.apache.org/jira/browse/TINKERPOP-2694
Project: TinkerPop
Issue Type: Bug
Affects Versions: 3.4.10
Environment: Version: 3.4.10
OS : CentOS8
Storage Backend: in-memory
Reporter: Lei Tang
Error occurred when querying "has()" on properties if the data has INFINITY
field.
h3. Current behavior
java.util.concurrent.ExecutionException:
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Character I is
neither a decimal digit number, decimal point, nor "e" notation exponential
mark.
h3. Expected behavior
It is expected to return certain vertices. Besides the bug didn't occur in
JanusGraph.
h3. Reproduce
Vertex alice = g.addV("person").property("hair", Double.POSITIVE_INFINITY
).next();
Vertex bob = g.addV("person").property("hair", 500 ).next();
--
This message was sent by Atlassian Jira
(v8.20.1#820001)