apache / apache/datafusion-sqlparser-rs
`GenericDialect` should support multi-table DELETE and DELETE without FROM clause
未关闭
- 主要语言
- Rust
- 星标
- 3.5k
- 派生
- 772
- 平均合并
- 4 天 9 小时
- 30 天内合并 PR
- 17
描述
According to the design policy, `GenericDialect` is intended to parse any SQL that other dialects can handle, but it currently fails to parse multi-table DELETE statements and DELETE statements without a FROM clause.
I think the expected behavior is that the following tests should also pass with `GenericDialect`.
https://github.com/apache/datafusion-sqlparser-rs/blob/2182f7ea71242a7e9674932d559baef67dae522d/tests/sqlparser_common.rs#L688-L735
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 tests/sqlparser_common.rs 的第 688-735 行开始,并使用 GenericDialect 运行其中引用的测试。跟踪多表 DELETE 语句以及不带 FROM 子句的 DELETE 语句的解析路径。使用 GenericDialect 使现有的两组测试都通过即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust, sql
- 领域
- compilers
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100