apache / apache/datafusion-sqlparser-rs

VisitorMut add Expr

未关闭
#1,393 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
3.5k
派生
772
平均合并
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 摘要。