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

sql: store plan as jsonb in system.statement_statistics #67331

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

Azhng
Copy link
Contributor

@Azhng Azhng commented Jul 7, 2021

Previously, we store statement plan as a byte blob column in
system.statement_statistics. As of #65782 we now support JSON
encoding for the plan.
This commit change the column type for plan from BYTES to JSONB
in system.statement_statistics.

Release note (sql change): using JSONB to store statement plan
instead of BYTES in system.statement_statistics.

Previously, we store statement plan as a byte blob column in
system.statement_statistics. As of cockroachdb#65782 we now support JSON
encoding for the plan.
This commit change the column type for plan from BYTES to JSONB
in system.statement_statistics.

Release note (sql change): using JSONB to store statement plan
 instead of BYTES in system.statement_statistics.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@Azhng Azhng requested a review from a team July 7, 2021 23:57
@Azhng Azhng marked this pull request as ready for review July 7, 2021 23:57
@Azhng
Copy link
Contributor Author

Azhng commented Jul 7, 2021

cc: @kevin-v-ngo

Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@Azhng
Copy link
Contributor Author

Azhng commented Jul 8, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 8, 2021

Build failed (retrying...):

@Azhng
Copy link
Contributor Author

Azhng commented Jul 8, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 8, 2021

Already running a review

@craig
Copy link
Contributor

craig bot commented Jul 8, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jul 8, 2021

Build failed (retrying...):

@otan
Copy link
Contributor

otan commented Jul 9, 2021

bors r-

🚨 bors is busted 🚨

@craig
Copy link
Contributor

craig bot commented Jul 9, 2021

Canceled.

@otan
Copy link
Contributor

otan commented Jul 9, 2021

bors r=maryliag

@craig
Copy link
Contributor

craig bot commented Jul 9, 2021

This PR was included in a batch that was canceled, it will be automatically retried

@craig
Copy link
Contributor

craig bot commented Jul 9, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jul 9, 2021

Build succeeded:

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

Successfully merging this pull request may close these issues.

4 participants