-
Notifications
You must be signed in to change notification settings - Fork 773
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
remove join side from duckdb semi/anti join translation; codegen for semi/anti join isn't roundtrippable #2244
Comments
@cpcloud duckdb supports D with t1(x) as (select 1), t2(x) as (select 2) select * from t1 anti join t2 on t1.x = t2.x;
┌───────┐
│ x │
│ int32 │
├───────┤
│ 1 │
└───────┘
D with t1(x) as (select 1), t2(x) as (select 2) select * from t1 left anti join t2 on t1.x = t2.x;
Error: Parser Error: syntax error at or near "anti"
LINE 1: ...x) as (select 2) select * from t1 left anti join t2 on t1.x = t2.x;
^ |
Oh, interesting, looks like SGTM! |
I can confirm that a dialect (postgres) that doesn't support
I will update the issue title and description |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fully reproducible code snippet
Looks like something is going wrong during the parse, as the
ANTI
is interpreted as a table alias.Additionally, when using
LEFT ANTI JOIN
,there's no transformation into athe join side should be removed from duckdb (perhaps others?) as duckdb doens't supportNOT EXISTS
queryLEFT SEMI
/LEFT ANTI
, onlySEMI
andANTI
.Official Documentation
N/A
The text was updated successfully, but these errors were encountered: