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 parser support for STRING_AGG() #15824

Closed
lukaseder opened this issue Nov 13, 2023 · 0 comments
Closed

Add parser support for STRING_AGG() #15824

lukaseder opened this issue Nov 13, 2023 · 0 comments

Comments

@lukaseder
Copy link
Member

lukaseder commented Nov 13, 2023

We're currently not parsing STRING_AGG yet, e.g.

SELECT string_agg(a, ',')
FROM (VALUES (1), (2)) AS t(a)

Produces:

Unknown function: [1:19] SELECT string_agg([*]a, ',')
FROM (VALUES (1), (2)) AS t(a)

It's a SQL Server function with optional WITHIN GROUP clause:
https://learn.microsoft.com/en-us/sql/t-sql/functions/string-agg-transact-sql?view=sql-server-ver16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant