apache / apache/datafusion-sqlparser-rs

Support mssql within group

Open
#1,279 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
772
Avg merge
4d 9h
Merged PRs (30d)
17

Description

mssql has `within group` clause in [STRING_AGG](https://learn.microsoft.com/en-us/sql/t-sql/functions/string-agg-transact-sql) function.

Similar to [#169](https://github.com/sqlparser-rs/sqlparser-rs/issues/169)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the existing STRING_AGG handling and compare the approach described in issue #169, using the linked SQL Server documentation to confirm the MSSQL syntax. Trace the parser entry point for STRING_AGG and add coverage for its within group clause; done means the syntax parses successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.