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

UUID property isn't compared correctly when used in a long query #4731

Open
nathansolidatus opened this issue Nov 15, 2024 · 1 comment
Open

Comments

@nathansolidatus
Copy link

Hi team

It looks like the has step is not very consistent when dealing with UUID properties:
Screenshot 2024-11-15 at 15 12 37

When I use has and hasLabel to search for a vertex by the UUID property, I can simply provide a string and it will find me that vertex (second query), but not when starting the traversal with other vertices (first query).
The expected behaviour is that the first query will find me v[4280] as well.

If I make the EntityId property as a string type then the first two queries give me the same results as expected.

I'm using version janusgraph:1.1.0-20241018-025853.872a475 with the berkeley backend, all settings are default, no indices.

@li-boxuan
Copy link
Member

Yeah it seems to be 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

2 participants