apache / apache/datafusion-sqlparser-rs

Grouping statement enum by macro-categories

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

描述

At this time, the statements enum is massive and includes all SQL statements. What if we were to create sub-enum categories, such as DML, DDL DQL, DCL, TCL, SCL, PSM and so on?

This would clearly break APIs, but it would make much more manageable to work with statements, expecially in the cases where only a subset of the statements are desidered.

Luca

贡献指南

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

调研方向

首先定位 statements enum,并审查其公共 API 及其使用情况。定义拟议的 SQL 宏类别,并评估 API 破坏和兼容性影响;当类别结构和受影响的接口达成一致,并由相关 parser 测试覆盖时,工作即告完成。

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

评估

技术栈
rust, sql
领域
compilers, databases
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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