I tested it with curl command and utf8 encoded data file.

curl -v --location-trusted -u root: -H "column_separator:," -H "merge_type: 
MERGE" -H "columns: k1,k2" -H "delete: k1=2 and k2<=>'上海'" -T 1.txt 
http://127.0.0.1:8042/api/db1/tbl2/_stream_load


It works fine.


You problem may because you wrote a Chinese quota to wrap your data “中文”. 




--

此致!Best Regards
陈明雨 Mingyu Chen

Email:
chenmin...@apache.org





在 2022-02-07 15:32:01,"nan tu" <liu192048...@gmail.com> 写道:
>Hi,如题所述:
>如下发送http请求批量导入数据,delete条件包含中文,已知http请求头不能识别中文,有什么方式可以处理这种情况吗?
>... columns: id, name" -H "merge_type: MERGE" -H "delete: id='1' AND name<=> 
>‘中文'
>Thanks!

Reply via email to