Skip to content

bug of gremlin step "has()" #289

@choeoe

Description

@choeoe

ArcadeDB Version: Arcadedb 21.12.1 tinkerpop 3.4.10

JDK Version: 11

OS: windows wsl

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

Expected behavior

return vertices

Actual 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.

Steps to reproduce

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

String query =“g.V().has('hair',500.00)”;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions