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 that occur when comparing different types of values #646

Open
w158937299 opened this issue Jan 19, 2024 · 1 comment
Open

Bug that occur when comparing different types of values #646

w158937299 opened this issue Jan 19, 2024 · 1 comment

Comments

@w158937299
Copy link

Agensgraph version: 2.13.0
Operating system: (Windows 11)
API/Driver: (psycopg2 2.9.7)
Steps to reproduce
5

As shown in this picture, query 1 returns the names of all nodes with the property "p2" greater than 50. Neo4j returns an empty set, while Agensgraph returns the names of some nodes. Query 2 returns the names and "p2" property values of all nodes. We can see that the type of the "p2" property value is a boolean constant, and it cannot be compared with an integer constant. However, Agensgraph still returns results. Therefore, we suspect that Agensgraph may have a bug in setting the priority of boolean constant higher than integer constants when comparing values of different types.

@w158937299 w158937299 changed the title Bugs that occur when comparing different types of values Bug that occur when comparing different types of values Jan 19, 2024
@w158937299
Copy link
Author

HI @yjy44 , could you please check on this?

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

No branches or pull requests

1 participant