Skip to content
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

add support for WITH ORDINALITY #1336

Closed
lovasoa opened this issue Jul 8, 2024 · 3 comments · Fixed by #1337
Closed

add support for WITH ORDINALITY #1336

lovasoa opened this issue Jul 8, 2024 · 3 comments · Fixed by #1337

Comments

@lovasoa
Copy link
Contributor

lovasoa commented Jul 8, 2024

The following is valid sql, and works in postgres, but cannot be parsed with sqlparser:

select * from my_srf() with ordinality;

https://www.postgresql.org/docs/current/functions-srf.html

Initially reported in sqlpage/SQLPage#491 (reply in thread)

@git-hulk
Copy link
Member

git-hulk commented Jul 8, 2024

@lovasoa Are you working on this? I want to fix it if no one is on it.

@lovasoa
Copy link
Contributor Author

lovasoa commented Jul 8, 2024

I'm not working on it, go for it! Thanks!

@git-hulk
Copy link
Member

git-hulk commented Jul 9, 2024

Thank you! I will submit the PR soon.

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 a pull request may close this issue.

2 participants