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

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

Open
1 task done
aronchanisme opened this issue Aug 28, 2024 · 1 comment
Open
1 task done

Comments

@aronchanisme
Copy link

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.

@aronchanisme
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant