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

cli: fix cockroach dump with collated strings #48687

Merged
merged 1 commit into from
May 13, 2020

Conversation

rohany
Copy link
Contributor

@rohany rohany commented May 11, 2020

Fixes #48278.

Release note (bug fix): Fix a bug where cockroach dump on a table
with collated strings would omit the collation clause for the data
insertion statements.

Fixes cockroachdb#48278.

Release note (bug fix): Fix a bug where `cockroach dump` on a table
with collated strings would omit the collation clause for the data
insertion statements.
@rohany rohany requested review from dt and a team May 11, 2020 18:04
@rohany rohany requested a review from a team as a code owner May 11, 2020 18:04
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rohany
Copy link
Contributor Author

rohany commented May 13, 2020

bors r=dt

@dt
Copy link
Member

dt commented May 13, 2020

Thank! Long-term do you think it'd make sense to move some of this type-switch stuff into helpers in SQL for dump to call into?

@rohany
Copy link
Contributor Author

rohany commented May 13, 2020

yeah most likely -- I think that was the aim of the various roundtripping work i did a few months ago

@craig
Copy link
Contributor

craig bot commented May 13, 2020

Build succeeded

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

Successfully merging this pull request may close these issues.

cockroach dump INSERTs do not include collate clauses
3 participants