The Wayback Machine - https://web.archive.org/web/20210816111753/https://github.com/cockroachdb/cockroach/issues/67689
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: Support 'COMMENT ON SCHEMA' #67689

Open
13rac1 opened this issue Jul 15, 2021 · 6 comments · May be fixed by #68606
Open

sql: Support 'COMMENT ON SCHEMA' #67689

13rac1 opened this issue Jul 15, 2021 · 6 comments · May be fixed by #68606

Comments

@13rac1
Copy link

@13rac1 13rac1 commented Jul 15, 2021

Is your feature request related to a problem? Please describe.
COMMENT ON SCHEMA is not supported.

Describe the solution you'd like
COMMENT ON SCHEMA is supported.

Support for COMMENT ON for tables, table columns, and databases was implemented in 2019 for #19472 then the issue was closed by @jordanlewis because schemas were not supported at all: #19472 (comment)

This is done but for schemas which we don't support anyway - closing.

CREATE SCHEMA was implemented in 2020 #50613 therefore COMMENT ON SCHEMA is (should be?) unblocked. Might be a good first PR as there are examples in:

I may implement the PR, but am not claiming it yet.

Describe alternatives you've considered
I am skipping unsupported SQL.

@blathers-crl
Copy link

@blathers-crl blathers-crl bot commented Jul 15, 2021

Hello, I am Blathers. I am here to help you get the issue triaged.

I have CC'd a few people who may be able to assist you:

If we have not gotten back to your issue within a few business days, you can try the following:

  • Join our community slack channel and ask on #cockroachdb.
  • Try find someone from here if you know they worked closely on the area and CC them.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@jordanlewis
Copy link
Member

@jordanlewis jordanlewis commented Jul 16, 2021

Thanks, you're absolutely right. Please feel free to take a stab at the PR!

@sagar23sj
Copy link

@sagar23sj sagar23sj commented Jul 26, 2021

Hi, I would like to work on this PR.

@knz
Copy link
Member

@knz knz commented Jul 26, 2021

we don't "reserve" PRs for one person. Anyone should free to work on it; you don't have to announce your work ahead of time.

@dheerajdlalwani
Copy link

@dheerajdlalwani dheerajdlalwani commented Aug 3, 2021

Hey! I would like to work on this issue, but I have absolutely no clue where to start. Can someone point me to some relevant documentation/internal docs?

@knz
Copy link
Member

@knz knz commented Aug 4, 2021

What about you look at the previous PRs that implemented COMMENT ON TABLE / COMMENT ON DATABASE, then do something similar.

@rafiss rafiss moved this from Triage to Smaller fixes/improvements in SQL Experience Aug 6, 2021
@ekalinin ekalinin linked a pull request that will close this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
SQL Experience
Smaller fixes/improvements
Linked pull requests

Successfully merging a pull request may close this issue.

6 participants