apache / apache/datafusion-sqlparser-rs
Expand Trigger parsing support
- 主要言語
- Rust
- スター
- 3.5k
- フォーク
- 772
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 17
説明
Hi folks,
Thanks @LucaCappelletti94 for stepping in. I was very excited to see "CREATE TRIGGER" support landing.
I just tried it it out and noticed that it's implemented for the Postgres and Generic dialects only, which is a great. I was wondering if there are any plans to extend support to other dialects? I'm most interest in sqlite: https://www.sqlite.org/lang_createtrigger.html with the biggest difference being inline functions bodies vs "execute function_name"
Thanks!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、Postgres および Generic 方言における CREATE TRIGGER の既存のパース対応を読み、リンク先の SQLite ドキュメントにある SQLite の CREATE TRIGGER 構文と比較します。SQLite のトリガー文(インラインの関数本体を含む)が受け入れられ、適切なパーサーテストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust, sqlite
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100