Re: NullPointerException comparing PredicateCondition (in equals method)
hadoopmarc@...
Hi Albert,
I tried with the GraphOfTheGods with janusgraph-0.5.3: gremlin> gremlin> g.V().has(label, without('god')).has(label, without('location')).values('name') gremlin> g.V().has(label, eq('god')).has(label, eq(null))14:22:31 WARN org.janusgraph.graphdb.transaction.StandardJanusGraphTx - Query requires iterating over all vertices [(~label = god AND ~label = null)]. For better performance, use indexesSo, I guess you did not mean to say that these traversals should fail. If it has anything to do with the way you use the PredicateCondition class, can you give a code example where you just instantiate two PredicateConditions and have an equal() call fail? Best wishes, Marc |
|