apache / apache/datafusion-sqlparser-rs

PostgreSQL: Support more `COMMENT ON` variants

未關閉
#2,133 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
3.5k
分支
772
平均合併
4 天 9 小時
30 天內合併 PR
17

描述

https://www.postgresql.org/docs/current/sql-comment.html specifies many different things that can receive database comments, but `sqlparser` currently only supports column, table, extension, schema, database, user and role. It would be great to add for example constraints, views and functions to the list too.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

該 issue 未指定原始檔案或測試。先找出現有 COMMENT ON 目標的 parser 程式碼與測試,然後將它們與 PostgreSQL 的 COMMENT ON 文件進行比較。完成的標準是 constraints、views、functions 以及其他選定的變體都能成功解析,同時不會讓目前支援的目標發生回歸。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
postgresql, rust
領域
databases
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。