Hello,
In Tinkerpop version 3.5, the handling of empty traversals in the by-modulators of order steps has been changed to not fail the entire query but to assume some notion of null for the value that is compared.
This works well in Gremlin Server 3.5.x: Ordering some vertices on a non-existent property will neither fail nor filter out any of those vertices, but instead produce some ordering of the vertices.
Neptune, however, in Engine release 1.2.0.0 (and at least 1.1.0.0) will also not fail but filter out the vertices. But order() must not act as a filter-step.
This is easy to reproduce:
- g.addV().addV()
- g.V().count() -> 2
- g.V().order().by('key').count() -> 0
This is also the case with both values for "Neptune#useDFE".
Can anybody confirm this behaviour?
Thanks a lot
Daniel