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

docs(official site): simplify command uploading file #4769

Merged
merged 3 commits into from
Apr 9, 2022

Conversation

doki23
Copy link
Contributor

@doki23 doki23 commented Apr 8, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Simplify the command format.

Changelog

simplify the command uploading files

Related Issues

I cannot run the command without the blank...
@vercel
Copy link

vercel bot commented Apr 8, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/databend/databend/HZ2yj5AJ4zLupk85HoKroNU2WsjP
✅ Preview: https://databend-git-fork-doki23-patch-1-databend.vercel.app

@mergify
Copy link
Contributor

mergify bot commented Apr 8, 2022

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@doki23 doki23 changed the title docs(official site): fix command uploading file docs(official site): fmt command uploading file Apr 8, 2022
@doki23
Copy link
Contributor Author

doki23 commented Apr 8, 2022

When I copied the command to my terminal, it became

echo curl -H \"insert_sql:insert into book_db.books format CSV\" -H \"skip_header:0\" -H \"field_delimiter:','\" -H \"record_delimiter:'\n'\" -F  \"upload=@./books.csv\" -XPUT http://127.0.0.1:8081/v1/streaming_load\|bash

The \|bash made it failed to run, so remove the echo ... | bash can help avoid the problem.

@doki23 doki23 changed the title docs(official site): fmt command uploading file docs(official site): simplify command uploading file Apr 8, 2022
@BohuTANG
Copy link
Member

BohuTANG commented Apr 8, 2022

When I copied the command to my terminal, it became

echo curl -H \"insert_sql:insert into book_db.books format CSV\" -H \"skip_header:0\" -H \"field_delimiter:','\" -H \"record_delimiter:'\n'\" -F  \"upload=@./books.csv\" -XPUT http://127.0.0.1:8081/v1/streaming_load\|bash

The \|bash made it failed to run, so remove the echo ... | bash can help avoid the problem.

Hello, what's your os?

@doki23
Copy link
Contributor Author

doki23 commented Apr 8, 2022

macOS

@BohuTANG
Copy link
Member

BohuTANG commented Apr 8, 2022

Thank you for the feedback, I will check it out tomorrow this is working on ubuntu.
Good night!

Copy link
Member

@BohuTANG BohuTANG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@BohuTANG BohuTANG merged commit ef6c471 into databendlabs:main Apr 9, 2022
@xudong963
Copy link
Member

Nice to see you in the databend community too! @doki23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants