Zeyang Zhuang created TINKERPOP-2907:
----------------------------------------

             Summary: Throw ExecutionException for property
                 Key: TINKERPOP-2907
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2907
             Project: TinkerPop
          Issue Type: Bug
          Components: driver, server
    Affects Versions: 3.6.2
         Environment: - TinkerGraph Version: 3.6.2
- Operating system: macOS 13.2.1
- API/Driver: Java
            Reporter: Zeyang Zhuang


I first randomly create a graph. Then when I run the following query: 
`g.V().has('vp4', 
between(0.10558513485092047,0.27458978042693427).and(between(0.4688484640878603,Infinity))).and(__.order().by(desc)).hasNot('vp1')`
 is thrown with an exception. I think this query is syntactically correct, but 
I keep triggering this kind of problem. Can TinkerGraph supports Infinity 
comparison?

### Expected behavior:
No exception should be expected to throw. Or futher messages or prompts should 
be thrown.

### Actual behavior:
A `java.util.concurrent.ExecutionException` is thrown. And I'm not really sure 
whether this problem should happen so I report this. I think it should support 
the Infinity rules.
```
TinkerGraph exception :
java.util.concurrent.ExecutionException: 
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: No such 
property: Infinity for class: Script126
```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to