orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB
Apache License 2.0
91 stars 32 forks source link

Add hadId tests #149

Closed To-om closed 5 years ago

To-om commented 6 years ago

Hi, The gremlin step hasId seems broken with OrientDB. I've added unit tests that check hasId with string argument and with vertex. I'm not sure the latter is relevant. Both fails with the following error:

com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error parsing query:
SELECT FROM `V`  WHERE   `~id` = :~id

The step V works as expected. Vertex can be retrieve with traversal.V(id) but it can't be use for edge (and step E doesn't exist in GraphTraversal).