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

load data with long content will panic #29240

Closed
xiongjiwei opened this issue Oct 29, 2021 · 1 comment · Fixed by #29222
Closed

load data with long content will panic #29240

xiongjiwei opened this issue Oct 29, 2021 · 1 comment · Fixed by #29222
Assignees
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@xiongjiwei
Copy link
Contributor

xiongjiwei commented Oct 29, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table ffa_order ( id SMALLINT , active TINYINT , job_number VARCHAR(100) , po_number VARCHAR(100) , client_id SMALLINT , project_id SMALLINT , job_description VARCHAR(100) , shift_duration VARCHAR(100) , start_date DATE , end_date DATE , comments TEXT , user_id SMALLINT , date_created DATETIME , modified_time DATETIME , status_id TINYINT , supplier_id TINYINT )

load data local infile 'ffa_order.csv' into table `test`.`ffa_order` columns terminated by ',' optionally enclosed by '"';

ffa_order.csv

(TL;DR: the comments field in the CSV contains 49,162 characters with new lines)

this bug is introduced by #23201

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants