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 摘要。