apache / apache/datafusion-sqlparser-rs

Feature-Demand : Add Option Clause

未關閉
#1,728 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Rust
星號
3.5k
分支
774
平均合併
4 天 9 小時
30 天內合併 PR
17

描述

In MSSQL one of the possibility to use Hints is by using the OPTION Clause . It is the lastest clause in a select statement

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

Regards

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 指出了 MSSQL 的 OPTION 子句,但沒有列出檔案、進入點或測試。定位 MSSQL SELECT 的解析邏輯和現有的 hint 處理,然後確認支援的 OPTION 語法,並新增涵蓋測試以表明有效陳述式能夠正確解析。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust, sql
領域
compilers, databases
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。