apache / apache/datafusion-sqlparser-rs

Feature-Demand : Add Option Clause

未关闭
#1,728 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
3.5k
派生
772
平均合并
4 天 9 小时
30 天内合并 PR
17

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 指出了 MSSQL 的 OPTION 子句,但没有列出文件、入口点或测试。定位 MSSQL SELECT 的解析逻辑和现有的 hint 处理,然后确定受支持的 OPTION 语法,并添加覆盖测试以表明有效语句能够正确解析。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust, sql
领域
compilers, databases
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。