Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2694

Bug of TinkerGraph gremlin api "has()"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.10
    • 3.6.0, 3.5.3
    • server
    • None
    • Version: 3.4.10
      OS : CentOS8
      Storage Backend: in-memory

    Description

      Error occurred when querying "has()" on properties if the data has INFINITY field.

      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.

      Expected behavior

      It is expected to return certain vertices. Besides the bug didn't occur in JanusGraph.

      Reproduce

      Vertex alice = g.addV("person").property("hair", Double.POSITIVE_INFINITY ).next();

      Vertex bob = g.addV("person").property("hair", 500 ).next();

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            tangle DBuser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: