-
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
release-23.2.0-rc: sql: omit virtual tables from stmt bundles #115847
release-23.2.0-rc: sql: omit virtual tables from stmt bundles #115847
Conversation
This commit makes it so that we do not include virtual tables into `schema.sql` file (as well as don't create the stats files for them) into the stmt bundle. This should make it easier to recreate the bundles that access virtual tables. Note that in the future, once we support stats on virtual tables, this logic will need to be update so that only the create statements are omitted. Release note: None
6875b70
to
c9471df
Compare
Thanks for opening a backport. Please check the backport criteria before merging:
If your backport adds new functionality, please ensure that the following additional criteria are satisfied:
Also, please add a brief release justification to the body of your PR to justify this |
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 4 of 4 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @mgartner, @michae2, and @yuzefovich)
Backport 1/1 commits from #115817 on behalf of @yuzefovich.
/cc @cockroachdb/release
This commit makes it so that we do not include virtual tables into
schema.sql
file (as well as don't create the stats files for them) into the stmt bundle. This should make it easier to recreate the bundles that access virtual tables.Note that in the future, once we support stats on virtual tables, this logic will need to be update so that only the create statements are omitted.
Fixes: #115437.
Release note: None
Release justification: low-risk debugging improvement.