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

Enhancement: show hidden column in rw_columns #12808

Closed
fuyufjh opened this issue Oct 12, 2023 · 2 comments · Fixed by #12839
Closed

Enhancement: show hidden column in rw_columns #12808

fuyufjh opened this issue Oct 12, 2023 · 2 comments · Fixed by #12839
Assignees
Milestone

Comments

@fuyufjh
Copy link
Member

fuyufjh commented Oct 12, 2023

Is your feature request related to a problem? Please describe.

There is no reason to hide these columns in system table rw_columns.

Describe the solution you'd like

  1. Need to show hidden columns in rw_columns
  2. May add a hidden boolean column in rw_columns to show whether it's hidden.
  3. By the way, do we have any way to know the primary key of a table? If not, probably we need a primary_key boolean column, too.

Describe alternatives you've considered

Shall we show hidden columns in show columns from <table> as well? Either LGTM.

Additional context

No response

@fuyufjh
Copy link
Member Author

fuyufjh commented Oct 12, 2023

Btw*2, is it possible to show distribution key here, too?

@yezizp2012
Copy link
Member

Btw*2, is it possible to show distribution key here, too?

Yeah, I think it's feasible. I will add a distribution_key boolean for it as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants