apache / apache/datafusion-sqlparser-rs
PostgreSQL: Support more `COMMENT ON` variants
- Dominant language
- Rust
- Stars
- 3.5k
- Forks
- 772
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 17
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no source file or test. Start by locating the parser code and tests for existing COMMENT ON targets, then compare them with PostgreSQL's COMMENT ON documentation. Done means constraints, views, functions, and the other selected variants parse successfully without regressing the currently supported targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100