apache / apache/datafusion-sqlparser-rs

Enable SQL features selectively

オープン
#1,201 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
3.5k
フォーク
772
平均マージ
4日 9時間
マージ済み PR(30日)
17

説明

Hello,
given the breadth of the parser, it would be nice if it would be possible to selectively enable features on an opt-in basis.

Let's imagine an application where only a subset of SQL is supported. In this case, the application would need to check for every possible unsupported feature manually (e.g. if I don't support windowing in queries, I would need to check if the `named_window` field in the `Select` gets populated and abort).

It would be interesting, instead, to decide beforehand which feature set is to be supported, so that only "valid" SQL gets parsed and arrives to the application.

Thanks.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この issue では、ファイル、テスト、エントリポイントが指定されていません。まず、parser の feature 処理のエントリポイントと既存の parser テストを特定し、次に、サポートされる feature set の選択方法と、サポートされていない SQL をアプリケーションに到達する前に拒否する方法を定義してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust, sql
領域
compilers
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。