apache / apache/datafusion-sqlparser-rs
[question] Is it possible to parse incomplete SQL?
- 主要言語
- Rust
- スター
- 3.5k
- フォーク
- 772
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 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 向けの parsing サポートの動作を文書化するか、テストでカバーする必要があります。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust, sql
- 領域
- compilers
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100