-
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
multitenant: append WITH REPLICATION STATUS
columns to SHOW TENANT
columns
#95526
multitenant: append WITH REPLICATION STATUS
columns to SHOW TENANT
columns
#95526
Conversation
It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR? 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
…` columns Informs #87851 `WITH CAPABILITIES` will be adding another set of columns so append relevant columns instead of creating all possible column sets ahead of time. Release note: None
node.columns = colinfo.TenantColumnsWithReplication | ||
} else { | ||
node.columns = colinfo.TenantColumns | ||
node.columns = append(node.columns, colinfo.TenantColumnsWithReplication...) | ||
} | ||
|
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.
The capabilities PR will add
if n.WithCapabilities {
node.columns = append(node.columns, colinfo.TenantColumnsWithCapabilities...)
}
} | ||
|
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.
The capabilities PR will add
if n.WithCapabilities {
result = append(result, ...)
}
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.
Nice.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @arulajmani and @rafiss)
bors r=knz |
Build succeeded: |
Informs #87851
WITH CAPABILITIES
will be adding another set of columns so append relevant columns instead of creating all possible column sets ahead of time.Release note: None