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 except join query #17101

Open
sundy-li opened this issue Dec 23, 2024 · 0 comments
Open

incorrect except join query #17101

sundy-li opened this issue Dec 23, 2024 · 0 comments
Assignees

Comments

@sundy-li
Copy link
Member

sundy-li commented Dec 23, 2024

🐳 :) create table a as select null, 3;

CREATE TABLE a
AS
    SELECT NULL, 3

1 row written in 0.100 sec. Processed 1 row, 1 B (10 rows/s, 10 B/s)

🐳 :) create table b as select null, 3;

CREATE TABLE b
AS
    SELECT NULL, 3

1 row written in 0.095 sec. Processed 1 row, 1 B (10.53 rows/s, 10 B/s)

🐳 :) select * from a except select * from b union all select * from b except select * from a;

should have empty results

@Dousir9

Originally posted by @sundy-li in #17100 (comment)

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

2 participants