[Bug] Throw java.lang.NumberFormatException
Bug Type (问题类型)
other exception / error (其他异常报错)
Before submit
- [X] 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
- HugeGraph Version: 0.12.0
- Storage Backend: inmemory
- Mixed Index Backend: none
- Link to discussed bug: none
- Operating system: macOS 13.2.1
- API/Driver: Java
Expected & Actual behavior (期望与实际表现)
I first randomly create a graph. Then when I run the following query: g.V().has('vp0', not(not(gte('iUn2s').or(gte('730618742'))))).out().path() is thrown without further message to identify the root cause. I think this query is syntactically correct, but I keep triggering this kind of problem. And also the 730618742 number here should not have any overflow.
-
Expected behavior: No exception should be expected to throw. Or futher messages or prompts should be thrown.
-
Actual behavior: A
java.lang.NumberFormatExceptionis thrown. And I'm not really sure whether this problem should happen so I report this.
HugeGraph exception :
java.lang.NumberFormatException: Error encountered evaluating script: g.V().has('vp0', not(not(gte('iUn2s').or(gte('730618742'))))).out().path()
Vertex/Edge example (问题点 / 边数据举例)
I don't provide the graph schema and data information because I think the bug here is a general problem. But if you need this kind of information, I'll further provide them. Thanks a lot!
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
now hg does not support gte('iUn2s'), only gte(number) is allowed
OK, received with thanks!
Do you think hugegraph will support this in the future? Since other GDBs support this kind of input.
depend on the frequency of user requests, you can new a future issue now.
OK, thanks a lot!