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

[Bug] stream load csv 如果数据内容中包含了包围符,reader解析csv错误 #47698

Open
2 of 3 tasks
tuoqiao opened this issue Feb 10, 2025 · 0 comments
Open
2 of 3 tasks

Comments

@tuoqiao
Copy link

tuoqiao commented Feb 10, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Version

2.0.6

What's Wrong?

doris使用stream-load导入csv文件时,如果遇到数据内容中包含包围符,应该如何配置参数保证数据正确导入,
例如:
"张三","男","18","曾于2019年获得""三好市民""称号"
以上数据是标准的csv文件,并能被excel打开,但stream-load不能正确解析
提交参数如下:
curl --location-trusted -u root:xxx
-H "label:load_label3"
-H "column_separator:,"
-H "enclose:""
-H "trim_double_quotes:true"
-T test_tb.csv
-XPUT http://xxx:8030/api/dataworks_test/test_tb/_stream_load

What You Expected?

stream-load能正确解析数据内容包含了包围符的数据

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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