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

rule: hash join rule may fail and requires checking condition #15

Open
yliang412 opened this issue Jan 29, 2025 · 0 comments
Open

rule: hash join rule may fail and requires checking condition #15

yliang412 opened this issue Jan 29, 2025 · 0 comments

Comments

@yliang412
Copy link
Member

The HashJoinRule may fail, and the join condition must be checked to ensure they satisfy the requirement.

-- check succeeds
t1 inner join t2 on t1.v1 = t2.v1

-- check succeeds
t1 inner join t2 on t1.v1 = t2.v1 and t1.v2 = t2.v2

-- check fails
t1 inner join t2 on t1.v1 > t2.v1
@yliang412 yliang412 mentioned this issue Jan 29, 2025
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