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

importccl: fix INSERT with missing columns with IMPORT PGDUMP #55921

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

otan
Copy link
Contributor

@otan otan commented Oct 24, 2020

We've introduced the functionality in v20.2 to INSERT PGDUMP with
less columns than there are total. As a result, we've introduced a bug
where missing a column in the INSERT would result in a panic.

Release note (bug fix): Fixed a bug where a IMPORTING a PGDUMP with
INSERTs not targeting all columns in the database would panic.

@otan otan requested review from dt and a team October 24, 2020 04:33
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@otan otan force-pushed the debug_ccl_error branch 4 times, most recently from fd813ee to 368e83b Compare October 25, 2020 23:47
We've introduced the functionality in v20.2 to INSERT PGDUMP with
less columns than there are total. As a result, we've introduced a bug
where missing a column in the INSERT would result in a panic.

Release note (bug fix): Fixed a bug where a IMPORTING a PGDUMP with
INSERTs not targeting all columns in the database would panic.
@otan
Copy link
Contributor Author

otan commented Oct 26, 2020

thanks!

bors r=dt

@craig
Copy link
Contributor

craig bot commented Oct 26, 2020

Build succeeded:

@craig craig bot merged commit 889deed into cockroachdb:master Oct 26, 2020
@rafiss rafiss added this to the 20.2 milestone Apr 22, 2021
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.

4 participants