Skip to content

[Doc Request]: Add doc stressing a common syntax error when using load data inline #589

Closed

Description

@aronchanisme

Is there an existing issue about this doc request?

  • I have checked the existing issues.

Describe the doc request.

See matrixorigin/matrixone#16794 (comment), please kindly help add doc illustration.

Activity

  1. aronchanisme commented on Aug 28, 2024

    @aronchanisme
    Author

    This will fail,

    load data inline format='csv', data=$XXX$ "zhangsan","26","Shanxi;XiAn" $XXX$ into table test.user fields terminated by ',' enclosed by '"'  lines terminated by '\n' (name,age,city);

    This one is ok,

    load data inline format='csv', data=$XXX$"zhangsan","26","Shanxi;XiAn"$XXX$ into table test.user fields terminated by ',' enclosed by '"'  lines terminated by '\n' (name,age,city);

    Hence the stress point is no blank character should be added between the first $XXX$ and actual data(begins with "), and, between actual data(also ends with ") and the last $XXX$

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions