apache / apache/datafusion-sqlparser-rs

Feature-Demand : Add Option Clause

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

Description

In MSSQL one of the possibility to use Hints is by using the [OPTION Clause](https://learn.microsoft.com/fr-fr/sql/t-sql/queries/option-clause-transact-sql?view=sql-server-ver16) . It is the lastest clause in a select statement

Do you think it would be possible to add this clause in sqlparser-rs ?

Regards

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies MSSQL's OPTION clause but names no files, entry points, or tests. Locate the MSSQL SELECT parsing logic and existing hint handling, then determine the supported OPTION syntax and add coverage showing that valid statements parse correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.