Skip to content

Conversation

simonvandel
Copy link
Contributor

@simonvandel simonvandel commented Aug 24, 2025

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-actions github-actions bot added documentation Improvements or additions to documentation sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Aug 24, 2025
@simonvandel simonvandel mentioned this pull request Aug 21, 2025
18 tasks
@simonvandel simonvandel force-pushed the support-pipe-operators-2 branch from 4036bd5 to e5f59c3 Compare August 25, 2025 20:58
@simonvandel simonvandel marked this pull request as ready for review September 30, 2025 20:47
@simonvandel
Copy link
Contributor Author

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

Copy link
Contributor

@Jefffrey Jefffrey left a comment

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 queue Oct 3, 2025
Merged via the queue into apache:main with commit a7b113c Oct 3, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation sql SQL Planner sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants