Skip to content

Conversation

@NickCrews
Copy link
Contributor

This is for SELECT * FROM t1 INTERSECT/EXCEPT ALL SELECT * FROM t2
Trino inherits the dialect from Presto. Presto doesn't support the ALL modifier, but trino does, see trinodb/trino#5890

We ran into this in ibis, where we are indeed able to compile and successfully execute the ALL modifier, but as soon as we turned on sqlglot errors, we then started getting spurious sqlglot errors: https://github.com/ibis-project/ibis/actions/runs/19549750869/job/55977864377?pr=11772

This is for `SELECT * FROM t1 INTERSECT/EXCEPT ALL SELECT * FROM t2`
Trino inherits the dialect from Presto. Presto doesn't support the `ALL` modifier, but trino does, see trinodb/trino#5890

We ran into this in ibis, where we are indeed able to compile and successfully execute the ALL modifier, but as soon as [we turned on sqlglot errors](ibis-project/ibis#11772), we then started getting spurious sqlglot errors: https://github.com/ibis-project/ibis/actions/runs/19549750869/job/55977864377?pr=11772
Copy link
Collaborator

@georgesittas georgesittas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a test for this.

@VaggelisD
Copy link
Collaborator

Will take this to the finish line, thank you @NickCrews!

@VaggelisD VaggelisD merged commit b8b22fa into tobymao:main Dec 23, 2025
3 of 9 checks passed
georgesittas pushed a commit that referenced this pull request Dec 24, 2025
This is for `SELECT * FROM t1 INTERSECT/EXCEPT ALL SELECT * FROM t2`
Trino inherits the dialect from Presto. Presto doesn't support the `ALL` modifier, but trino does, see trinodb/trino#5890

We ran into this in ibis, where we are indeed able to compile and successfully execute the ALL modifier, but as soon as [we turned on sqlglot errors](ibis-project/ibis#11772), we then started getting spurious sqlglot errors: https://github.com/ibis-project/ibis/actions/runs/19549750869/job/55977864377?pr=11772
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

Successfully merging this pull request may close these issues.

3 participants