apache / apache/datafusion-sqlparser-rs

VisitorMut add Expr

未關閉
#1,393 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
3.5k
分支
774
平均合併
4 天 9 小時
30 天內合併 PR
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 摘要。