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 mysqqoutfile import bug #40345

Merged
merged 1 commit into from
Sep 1, 2019

Conversation

spaskob
Copy link
Contributor

@spaskob spaskob commented Aug 29, 2019

When importing from csv if the number of fields is less than the columns
in the schema the server will panic. Added a check for this case.

Tested: Note that the test currently skipped. I added a test case and ran tests successfully locally.

Touches 39820.

Release note: None

When importing from csv if the number of fields is less than the columns
in the schema the server will panic. Added a check for this case.

Touches 39820.

Release note: None
@spaskob spaskob requested a review from dt August 29, 2019 20:10
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@dt dt 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 (waiting on @dt)

@spaskob
Copy link
Contributor Author

spaskob commented Sep 1, 2019

bors r+

craig bot pushed a commit that referenced this pull request Sep 1, 2019
40345: importccl: fix mysqqoutfile import bug r=spaskob a=spaskob

When importing from csv if the number of fields is less than the columns
in the schema the server will panic. Added a check for this case.

Tested: Note that the test currently skipped. I added a test case and ran tests successfully locally.

Touches 39820.

Release note: None

Co-authored-by: Spas Bojanov <[email protected]>
@craig
Copy link
Contributor

craig bot commented Sep 1, 2019

Build succeeded

@craig craig bot merged commit bb576d9 into cockroachdb:master Sep 1, 2019
@spaskob spaskob deleted the sqloutfile-bug branch September 27, 2019 13:02
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.

3 participants