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

Incorrect handling of multiple keys in the same chunk when inserting to join hash table. #1371

Closed
andyfengHKU opened this issue Mar 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@andyfengHKU
Copy link
Contributor

The following query will output incorrect result

MATCH (a:person)-[e1:knows]->(b:person), (a)-[e2:meets]->(b) WHERE a.age > 0 RETURN a.fName, b.fName

This is because e2 is a column extend and thus both keys "a" and "b" are in the same data chunk. However, our join hash table seems to unable to differentiate whether "a" and "b" are in the same chunk or not and thus always taking a Cartesian product.

@andyfengHKU andyfengHKU added the bug Something isn't working label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants