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: fix wrong representation of SHOW JOBS #40601

Merged
merged 1 commit into from
Sep 9, 2019
Merged

Conversation

spaskob
Copy link
Contributor

@spaskob spaskob commented Sep 9, 2019

WHEN COMPLETE was wrongly being put in the end of the string
representation of SHOW JOBS WHEN COMPLETE SELECT... stmt.

Fixes: #40534.

Release note (bug fix): None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@spaskob spaskob force-pushed the rsg-bug branch 2 times, most recently from 8122446 to 24d354a Compare September 9, 2019 15:58
@maddyblue
Copy link
Contributor

The Fixes tag is incorrect in the commit message. It should be Fixes #XXX. Missing the # and I think the number is wrong too?

`WHEN COMPLETE` was wrongly being put in the end of the string
representation of `SHOW JOBS WHEN COMPLETE SELECT...` stmt.

Fixes: cockroachdb#40534.

Release note: None
@spaskob
Copy link
Contributor Author

spaskob commented Sep 9, 2019

Thanks Matt, fixed the incorrect commit message.

@spaskob
Copy link
Contributor Author

spaskob commented Sep 9, 2019

bors r+

craig bot pushed a commit that referenced this pull request Sep 9, 2019
40523: opt: fix functional deps and stats for WithScanExpr r=rytaft a=rytaft

This commit fixes the functional dependencies and stats calculation
for `WithScanExpr` so they use the output columns rather than the input
columns.

Fixes #40296

Release note: None

40601: sql: fix wrong representation of SHOW JOBS r=spaskob a=spaskob

`WHEN COMPLETE` was wrongly being put in the end of the string
representation of `SHOW JOBS WHEN COMPLETE SELECT...` stmt.

Fixes: #40534.

Release note (bug fix): None

Co-authored-by: Rebecca Taft <becca@cockroachlabs.com>
Co-authored-by: Spas Bojanov <spas@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 9, 2019

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: show jobs doesn't round trip format
4 participants