You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/12/03 02:51:40 UTC
[GitHub] [incubator-doris] ZhaoBQ commented on issue #5011: Does doris have an official performance evaluation tool?
ZhaoBQ commented on issue #5011:
URL: https://github.com/apache/incubator-doris/issues/5011#issuecomment-737629242
Thank you @chaoyli . Yes, I changed the primary key order, and delete the other table's last '|'. Although I did not convert the empty string to NULL, the data can also be loaded successfully.
> (1)awk -v FS='|' -v OFS='|' '{print $3,$10,$1,$2,$4,$5,$6,$7,$8,$9,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20}' store_returns.dat > store_returns.test // it will delete the last '|'
> (2)awk '{sub(/.{1}$/,"")}1' web_site.dat > web_site.test // other tables
> (3)curl --location-trusted -u root -H "column_separator:|" -H "label:store_returns_test" -T store_returns.test http://doris1.com:8030/api/test/store_returns/_stream_load
The empty strings are automatically converted to NULL by Doris

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org