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

[multistage] [bug] Wrong result when both left join and inequi join exist and inequi condition filter out keys #9986

Closed
61yao opened this issue Dec 14, 2022 · 0 comments

Comments

@61yao
Copy link
Contributor

61yao commented Dec 14, 2022

Example:
tbl1
numCol, strCol
1, "a"
2, "b"

tbl2
numCol, strCol
1, "a"
2, "c"

Select * from tbl1 left join tbl2 on tbl1.numCol = tbl2.numCol and tbl1.strCol != tbl2.strCol

This should produce
1, a, null, null,
2, b, 2, c

However today we produce
2, b, 2, c

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