Skip to content

sql: Fix syntax error when inserting into system.table_statistics#92419

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
faizaanmadhani:faizaan/insert-stat-regression
Nov 29, 2022
Merged

sql: Fix syntax error when inserting into system.table_statistics#92419
craig[bot] merged 1 commit intocockroachdb:masterfrom
faizaanmadhani:faizaan/insert-stat-regression

Conversation

@faizaanmadhani
Copy link
Copy Markdown
Contributor

Previously, code that was run if the clusterversion V23_1AddPartialStatisticsPredicateCol was not active would return a syntax error due to a superfluous comma in an INSERT SQL statement in a roachtest.

Release note: None

Resolves: #92412

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@faizaanmadhani faizaanmadhani marked this pull request as ready for review November 23, 2022 21:41
@faizaanmadhani faizaanmadhani requested a review from a team as a code owner November 23, 2022 21:41
@faizaanmadhani faizaanmadhani force-pushed the faizaan/insert-stat-regression branch from b7ba3a7 to cb8faaf Compare November 23, 2022 21:53
Copy link
Copy Markdown
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

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

:lgtm: Those trailing commas always get me! 🙂

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mgartner, @renatolabs, and @rytaft)

Copy link
Copy Markdown
Collaborator

@rytaft rytaft left a comment

Choose a reason for hiding this comment

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

:lgtm: thanks!

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained (waiting on @mgartner and @renatolabs)

@faizaanmadhani
Copy link
Copy Markdown
Contributor Author

TFTR! 🎉

bors r=rytaft

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 24, 2022

Build failed:

@faizaanmadhani
Copy link
Copy Markdown
Contributor Author

bors r=rytaft

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 25, 2022

Build failed:

Previously, code that was run if the clusterversion
`V23_1AddPartialStatisticsPredicateCol` was not active would
return a syntax error due to a superflous comma in an INSERT
SQL statement in a roachtest.

Release note: None
@faizaanmadhani faizaanmadhani force-pushed the faizaan/insert-stat-regression branch from cb8faaf to 2a5e783 Compare November 25, 2022 01:07
@faizaanmadhani
Copy link
Copy Markdown
Contributor Author

bors r=rytaft

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 29, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 29, 2022

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.

sql/stats: syntax error when inserting into system.table_statistics

4 participants