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

fix(query): fix input format CSV #6524

Merged
merged 8 commits into from Jul 7, 2022
Merged

Conversation

youngsofun
Copy link
Member

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

Summary

both python and rust CSV lib support 4 QuoteStyple
https://docs.rs/csv/latest/csv/enum.QuoteStyle.html

except the last one the 4, CSV mainly uses quote (instead of escape) to deal with field/record delimiters in strings, and uses quote to escape it self by default.

and clickhouse input format only supports this style.

so we should support this style first.

Summary about this PR

Fixes #issue

@vercel
Copy link

vercel bot commented Jul 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Jul 7, 2022 at 4:04AM (UTC)

@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Jul 7, 2022
@youngsofun
Copy link
Member Author

flaky tests, pass on my mac

@sundy-li
Copy link
Member

sundy-li commented Jul 7, 2022

results lost. cc @zhang2014

@BohuTANG
Copy link
Member

BohuTANG commented Jul 7, 2022

test_sqllogic_standalone_linux failure is not related to this pr, let's merge.

@BohuTANG BohuTANG merged commit 362ba39 into datafuselabs:main Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix this PR patches a bug in codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants