Skip to content

[Bug]: load data key about starting by '' is not working #7747

Closed

Description

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):2f1e17764761fc8b0e279837bed65c611f44f9b5
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image
The correct result should be
image

Expected Behavior

No response

Steps to Reproduce

sql:
create table table_a(col1 varchar(20),col2 char(10),col3 varchar(20));
load data infile '/Users/heni/test_data/string.csv' into table table_a lines starting by 'aaa' terminated by '\n';

string.csv
"aaa_this","aaa_yellow","aaa_poly"
"aaa123","345","aaa890"

Additional information

No response

Activity

  1. ghost added
    kind/bug
    on Jan 31, 2023
  2. ghost added
    severity/s1
    on Jan 31, 2023
  3. ghost added this to the v0.7.0 milestone on Jan 31, 2023
  4. fengttt commented on Feb 1, 2023

    @fengttt
    Contributor

    This feature is too random. I would suggest not to impl it. Make sure the sql load fail with good error message.

  5. jianwan0214 commented on Mar 10, 2023

    @jianwan0214
    Contributor

    solve it

  6. ghost closed this as completedon Mar 13, 2023
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/s1

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions