apache / apache/datafusion-sqlparser-rs
[question] Is it possible to parse incomplete SQL?
- 主要語言
- Rust
- 星號
- 3.5k
- 分支
- 772
- 平均合併
- 4 天 9 小時
- 30 天內合併 PR
- 17
描述
I'm working on building a web-based SQL editor and we would like to implement an intelligent autocomplete. To that end, we would like to know if the cursor position in the string corresponds to a Table/Column/Keyword/Function in the SQL statement. Unfortunately, the user might still be writing the query and it will not be well-formed yet in the majority of the cases.
I'm wondering if this project might be able to handle a scenario like that?
Any suggestions and feedback are greatly appreciated. Thanks!
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
該 issue 未指定任何檔案、測試或入口點;首先檢查 Rust SQL parser 目前是否接受不完整的陳述式,並為資料表、欄位、關鍵字或函式提供游標內容。要視為完成,需要確定範圍,並記錄所要求的面向 autocomplete 的解析支援行為或為其撰寫測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust, sql
- 領域
- compilers
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100