Skip to content

feat(parser): AS pipe syntax#5224

Merged
geooo109 merged 7 commits into
mainfrom
geooo109/pipe_syntax_as
Jun 13, 2025
Merged

feat(parser): AS pipe syntax#5224
geooo109 merged 7 commits into
mainfrom
geooo109/pipe_syntax_as

Conversation

@geooo109
Copy link
Copy Markdown
Collaborator

This PR adds support for the AS pipe syntax.

Operator Implemented
FROM
SELECT
WHERE
WHERE (replacing HAVING)
WHERE (replacing QUALIFY)
EXTEND
SET
RENAME
DROP
AS
LIMIT
AGGREGATE WITH GROUP/ORDER BY
ORDER BY
UNION
INTERSECT
EXCEPT
JOIN
CALL
TABLESAMPLE
PIVOT
UNPIVOT

Comment thread sqlglot/parser.py Outdated
@geooo109 geooo109 merged commit 97f5822 into main Jun 13, 2025
7 checks passed
@geooo109 geooo109 deleted the geooo109/pipe_syntax_as branch June 13, 2025 19:16
fresioAS pushed a commit to fresioAS/sqlglot that referenced this pull request May 3, 2026
* feat(parser)!: ALIAS pipe syntax

* refactor pipe syntax parser

* AS using CTE

* refactor pipe parser

* type hint for alias_cte

* refactor pipe syntax map key ordering

* fix type annotation of _build_pipe_cte
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.

2 participants