apache / apache/datafusion-sqlparser-rs
Improving support for `CREATE PROCEDURE`
- 主要言語
- Rust
- スター
- 3.5k
- フォーク
- 772
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 17
説明
sqlparser-rs currently doesn't have great support for `CREATE PROCEDURE` statements, leading to parser errors when I pass in valid SQL. I'd like to work on improving this (I've already started on [my fork](https://github.com/ZacJW/sqlparser-rs/tree/dev)).
What's the project's ideal vision for how this would be handled? Stored procedures are the kind of thing that can be very RDBMS specific. Do you just want the AST to cover what's in the standard, but the dialects to accept but discard additional options?
The first fix which will be ready to go once I've written tests is #1901, support for what PostgreSQL calls argmode and the standard calls parameter mode.
## PRs
- #1901
- #1903
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、作者の fork の dev ブランチにある既存の作業と、リンクされている issue および PR #1901、#1903 を確認します。CREATE PROCEDURE に対するプロジェクトの意図した AST と方言の動作を明確にし、その後、合意されたサポートを網羅するテストを追加して、有効な SQL が期待どおりにパースされるようにします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust, sql
- 領域
- compilers, databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100