You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Lei Tang (Jira)" <ji...@apache.org> on 2022/01/21 10:21:00 UTC

[jira] [Created] (TINKERPOP-2694) Bug of TinkerGraph gremlin api "has()"

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)