-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: Add a SHOW RANGES FROM DATABASE command. #39194
Conversation
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.
A commit message would be welcome.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @rohany and @solongordon)
pkg/sql/delegate/show_ranges.go, line 28 at r1 (raw file):
// SHOW RANGES FROM DATABASE db // // These statements show the ranges corresponding to the given table or index,
Out of date comment
pkg/sql/sem/tree/show.go, line 392 at r1 (raw file):
ctx.WriteString("TABLE ") } ctx.FormatNode(&node.TableOrIndex)
Looks like this is wrong in the database case.
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 @rohany and @solongordon)
bors r+ |
Merge conflict (retrying...) |
bors r- |
Canceled |
Fixes cockroachdb#36131. Adds a SHOW RANGES FROM DATABASE command, with similar output as SHOW RANGES FROM TABLE/INDEX. Release note (sql change): Add a SHOW RANGES FROM DATABASE command.
bors r+ |
39194: sql: Add a SHOW RANGES FROM DATABASE command. r=rohany a=rohany Fixes #36131. Release note (sql change): Add a SHOW RANGES FROM DATABASE command. Co-authored-by: Rohan Yadav <[email protected]>
Build succeeded |
Fixes #36131.
Release note (sql change): Add a SHOW RANGES FROM DATABASE command.