Skip to content

[Bug]: The default delimiter for outfile is different from the delimiter for load data infile #22565

Closed

Description

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

3.0-dev

Commit ID

2862450

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

ca_specify_answer_dataset表数据outfile成功,清空数据后,load data到该表报错
Image

Image

csv部分数据:

Image Image

ca_specify_answer_dataset表ddl和dml:

ca_specify_answer_dataset.sql

Expected Behavior

Steps to Reproduce

mysql -h 127.0.0.1 -udump -P6001 -p111 --local-infile

source ca_specify_answer_dataset.sql
select * from ca_specify_answer_dataset into outfile '/tmp/ca_specify_answer_dataset.csv';
truncate table ca_specify_answer_dataset
load data local infile '/tmp/ca_specify_answer_dataset.csv' into table ca_specify_answer_dataset ignore 1 lines;

Additional information

No response

Activity

  1. ghost added this to the MO-2509 milestone on Sep 25, 2025
  2. ghost added
    kind/bug
    on Sep 25, 2025
  3. ghost added
    severity/s0
    on Sep 25, 2025
  4. ghost added theissue type on Sep 25, 2025
  5. ghost changed the title [-][Bug]: select outfile to csv which table include vector column succeed,but load data into table failed[/-] [+][Bug]: The default delimiter for outfile is different from the delimiter for load data infile[/+] on Sep 25, 2025
  6. ghost closed this as completedon Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugseverity/s0

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions