apache / apache/datafusion-sqlparser-rs

MsSql statement parsing failure.

Open
#1,409 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

``` sql
DELETE tbl
```
[OUTPUT clause (Transact-SQL)](https://learn.microsoft.com/en-us/sql/t-sql/queries/output-clause-transact-sql)
``` sql
insert into [SsoTokenLog] ([Co_id],[U_id],[Sso_token],[Created]) output inserted.* values (@0,@1,@2,@3)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source file or test. Start by reproducing parsing for `DELETE tbl` and the `INSERT ... OUTPUT inserted.*` statement using the MSSQL dialect, then inspect the resulting parser errors. Done means both statements parse successfully with regression coverage for the reported forms.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.