janusgraph icon indicating copy to clipboard operation
janusgraph copied to clipboard

Bug due to exceptional values handling

Open w158937299 opened this issue 1 year ago • 0 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:

10

As shown in this picture, query 1 returns the key-value pairs of nodes with the 'p2' property and 'p2' property value not equal to the string 'false'. The node property key-value pairs returned by Janusgraph are far fewer than those returned by Tinkergraph. Query 2 returns the key-value pairs of nodes with the 'p2' property and 'p2' property value not equal to the boolean value false, and it can be seen that the results returned by Janusgraph and Tinkergraph are consistent. By comparing the results of query 1 and query 2 in Janusgraph, we can conclude that Janusgraph treats the string 'false' property value as a boolean value false, leading to this bug.

w158937299 avatar Jan 19 '24 09:01 w158937299