apache / apache/datafusion-sqlparser-rs

Dialect-specific parsing and Snowflake JSON support

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

説明

Hi ,

Currently the lib support different databases (postgresql-sql, mysql , etc .. ) dialect only in the tokenizer.

My question is - if there was any discussions/plans about supporting per-db dialects also in the parser (or do you you think it's good idea to start such discussions )?

Where most of the DB's support ANSI sql , when it's come to more advance features like json-parsing - There is great variability between the different databases.

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

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

調査の方向性

このissueではtokenizerとparserが挙げられており、既存のpostgresql-sqlおよびmysql dialectが比較対象となっています。まず、これらのdialectがどのように扱われているかを確認し、サポートすべきSnowflake JSON構文を明確にしてください。完了の条件は、parser-dialectのスコープと実装計画が決定されていることです。このissueではファイルやテストは指定されていません。

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

評価

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

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

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