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

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

    [ https://issues.apache.org/jira/browse/TINKERPOP-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485370#comment-17485370 ] 

Luca Garulli commented on TINKERPOP-2694:
-----------------------------------------

I see the PR was merged, thanks, guys! Should we close this issue or it will be closed at release time?

> Bug of TinkerGraph gremlin api "has()"
> --------------------------------------
>
>                 Key: TINKERPOP-2694
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2694
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.4.10
>         Environment: Version: 3.4.10
> OS : CentOS8
> Storage Backend: in-memory
>            Reporter: Lei Tang
>            Priority: Major
>
> 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)