Skip to content

Support AS, UNION, INTERSECTION, EXCEPT, AGGREGATE pipe operators - #17312

Merged
Jefffrey merged 24 commits into
apache:mainfrom
simonvandel:support-pipe-operators-2
Oct 3, 2025
Merged

Support AS, UNION, INTERSECTION, EXCEPT, AGGREGATE pipe operators#17312
Jefffrey merged 24 commits into
apache:mainfrom
simonvandel:support-pipe-operators-2

Conversation

@simonvandel

@simonvandelsimonvandel commented Aug 24, 2025

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Part of #14660

Rationale for this change

sqlparser 0.58 released with support for parsing pipe operators.
Let's see if we can make Datafusion support executing them.

What changes are included in this PR?

Support for the following pipe operators

  • AS
  • UNION
  • INTERSECTION
  • EXCEPT
  • AGGREGATE

Are these changes tested?

Yes, I have added SLT tests

Are there any user-facing changes?

Yes, if the dialect is set to one that supports pipe operators, those can then be executed.

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Aug 24, 2025
@simonvandelsimonvandel mentioned this pull request Aug 21, 2025
18 tasks
@simonvandel
simonvandelforce-pushed the support-pipe-operators-2 branch from 4036bd5 to e5f59c3CompareAugust 25, 2025 20:58
@simonvandel
simonvandel marked this pull request as ready for review September 30, 2025 20:47
@simonvandel

Copy link
Copy Markdown
ContributorAuthor

I have marked this one as ready for review.
Tagging @Jefffrey since you reviewed the prequel #17278 and may be interested

@JefffreyJefffrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@Jefffrey
Jefffrey added this pull request to the merge queueOct 3, 2025
Merged via the queue into apache:main with commit a7b113cOct 3, 2025
29 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsqlSQL PlannersqllogictestSQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@simonvandel@Jefffrey