Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug caused by operations that delete graphs using python #4219

Open
w158937299 opened this issue Jan 19, 2024 · 0 comments
Open

Bug caused by operations that delete graphs using python #4219

w158937299 opened this issue Jan 19, 2024 · 0 comments

Comments

@w158937299
Copy link

  • Version: 1.0.0

  • Storage Backend: inmemory

  • Mixed Index Backend: elasticresearch-8.6.0

  • API/Driver: Gremlin-python 3.2.6

  • Steps to Reproduce:
    9

    As shown in this picture, we provide a partial code example in Python to create graph data. Lines 1-4 create a node and return its property key-value pairs. Line 7 deletes all nodes and edges from the graph. Lines 8-11 create a node with the same type but different property types and return its property key-value pairs. From the output results in lines 5 and 6, it can be seen that the property values of nodes constructed under different graph database engines are the same. From the result in line 12, it can be seen that Janusgraph creates the 'p9' property value and 'test3' property value of the node with integer and float, but displays them as float and string. Line 13 shows that Tinkergraph displays property values in a type consistent with the input during node creation. Therefore, we infer that even after deleting all nodes and edges from the graph, the property value types of the nodes initially constructed in Janusgraph will still affect the types of subsequently constructed node property value , leading to a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant