apache / apache/datafusion-sqlparser-rs

pre_visit_relation not invoked for Drop query

未关闭
#851 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
3.5k
派生
772
平均合并
4 天 9 小时
30 天内合并 PR
17

描述

Hi,

I am using the pre_visit_relation to extract tables from queries and I found that for some reason,
Drop Table t1 not invoked the pre_visit_relation method.

Do you know if this is the expected behaviour? or it will be supported in next versions?

thanks.

贡献指南

这个仓库没有索引到贡献指南

调研方向

使用 `pre_visit_relation` 重现报告的 `Drop Table t1` 案例,并将其与 callback 会运行的查询进行比较。检查 parser 和 visitor 对 DROP 语句的处理,以及现有的 visitor 测试;当预期行为得到确立,并由回归测试覆盖或得到清晰记录时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust, sql
领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。