[Bug] Exception cannot be triggered properly when using barrier
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Bug Type (问题类型)
None
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/hugegraph/hugegraph/issues) 与 [FAQ](https://hugegraph.github.io/hugegraph-doc/guides/faq.html) 中没有相同 / 重复问题
### Environment (环境信息)
- Server Version: v0.12.0
- Backend: memory
- OS: wsl
- Data Size: 1
### Expected & Actual behavior (期望与实际表现)
When I execute:
```java
g.V().has('vp0').has('vl0','vp0',lt(true));
```
It throws
```java
java.lang.NumberFormatException
```
But when I change the query to
```java
g.V().has('vp0').barrier().has('vl0','vp0',lt(true));
```
The exception cannot be thrown. I think both should behave in the same way.
### Vertex/Edge example (问题点 / 边数据举例)
```javascript
new Vertex("vl0").property("vp0", true);
```
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
```javascript
schema().propertyKey("vp0").asBoolean().ifNotExist().create();
schema().vertexLabel("vl0").properties("vp0").create();
```
Contributor guide
Assessment
This issue has not been assessed yet.