apache / apache/datafusion-sqlparser-rs

VisitorMut add Expr

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

説明

My intuition tells me that the VisitorMut walker should be able to add expressions to WHERE or init the selection Option to Some Expr in Statement::Query body::Select. Is there a quick example of this or is the VisitorMut capable of only traversing the AST nodes if they exist?

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

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

調査の方向性

まず、issue で言及されている VisitorMut walker と Statement::Query body::Select エントリポイントを読みます。現在の mutation が既存の AST ノードのみを訪問するのか、それとも WHERE 式を追加して selection の Option を初期化できるのかを判断します。完了条件には、要求された mutation に対する決定済みの動作とカバレッジを含める必要があります。ただし、テストファイルは指定されていません。

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

評価

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

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

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