-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: don't show the "hidden" column flag in EXPLAIN #51837
Conversation
The ResultColumns.Hidden flag is used internally; it does not carry useful information for users and should not be visible in EXPLAIN. Release note (sql change): EXPLAIN no longer shows the "hidden" annotation for columns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 11 of 12 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde and @yuzefovich)
pkg/sql/sqlbase/result_columns.go, line 108 at r1 (raw file):
// The column types are printed if printTypes is true. // The hidden property is printed if showHidden is true. func (r ResultColumns) String(printTypes bool, showHidden bool) string {
You planning on passing showHidden=true
elsewhere? I only see the one call passing false
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde and @yuzefovich)
pkg/sql/sqlbase/result_columns.go, line 108 at r1 (raw file): Previously, mgartner (Marcus Gartner) wrote…
No, there's no other caller. Just wanted to keep it general. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @mgartner and @yuzefovich)
Build succeeded: |
The ResultColumns.Hidden flag is used internally; it does not carry
useful information for users and should not be visible in EXPLAIN.
Release note (sql change): EXPLAIN no longer shows the "hidden"
annotation for columns.