janusgraph icon indicating copy to clipboard operation
janusgraph copied to clipboard

Bug caused by the without operator

Open w158937299 opened this issue 1 year ago • 1 comments

  • Version: 1.0.0
  • Storage Backend: inmemory
  • Mixed Index Backend: elasticresearch-8.6.0
  • API/Driver: Gremlin-python 3.2.6
  • Steps to Reproduce: 8

As shown in this picture, query 1 returns the number of edges that have the "p2" property and the "p2" property value does not contain 'GhR'. It can be seen that Janusgraph and tinkergraph return different values. Query 2 returns the number of edges that have the "p2" property, and it is observed that the results of the two graph database engines are consistent. Therefore, we believe that there is an issue with the use of the without operator. Subsequently, we use query 3 to return the property key-value pairs of edges that have the "p2" attribute, and the "p2" property value does not contain 'GhR'. We found that Janusgraph only returns edges with "p2" attribute value as True. It can be inferred that Janusgraph has a bug when using the without operator to handle property values of different types.

w158937299 avatar Jan 19 '24 09:01 w158937299

Hello, the bug also occurs when using the neq operator.

w158937299 avatar Apr 11 '24 10:04 w158937299