apache / apache/datafusion-sqlparser-rs

Allow parsing any permutation of create sequence options

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

説明

Hi, many thanks for the project!

I would like to be able to parse the create sequence options in any particular order instead of just what postgreslq/duckdb support. Afaik oracle for example allows any permutation of the options.

If this is something that you'd be willing accept, I would be happy to implement the necessary changes to allow any permutation and hide it behind something like a dialect flag.

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

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

調査の方向性

まず、create-sequence オプションのパーサーと、既存の PostgreSQL/DuckDB の順序処理を特定します。要求されている Oracle 形式の順列を比較し、ダイアレクト・フラグでそれらをどのように制御すべきかを判断します。対応する順列が既存のダイアレクトの動作を変更せずに正しくパースされ、順序のケースをカバーするテストがあることを完了条件とします。

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

評価

技術スタック
rust, sql
領域
compilers
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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