这是返回信息:
status: 200
entity: {
"TxnId": 1006633,
"Label": "c6148297-1e98-4001-babd-e855a799d357",
"Status": "Success",
"Message": "OK",
"NumberTotalRows": 1,
"NumberLoadedRows": 1,
"NumberFilteredRows": 0,
"NumberUnselectedRows": 0,
"LoadBytes": 15,
"LoadTimeMs": 55,
"BeginTxnTimeMs": 0,
"StreamLoadPutTimeMs": 0,
"ReadDataTimeMs": 0,
"WriteDataTimeMs": 40,
"CommitAndPublishTimeMs": 12
}
> 2022年2月7日 下午7:03,陈明雨 <[email protected]> 写道:
>
> 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:
> [email protected]
>
>
>
>
>
> 在 2022-02-07 15:32:01,"nan tu" <[email protected]> 写道:
>> Hi,如题所述:
>> 如下发送http请求批量导入数据,delete条件包含中文,已知http请求头不能识别中文,有什么方式可以处理这种情况吗?
>> ... columns: id, name" -H "merge_type: MERGE" -H "delete: id='1' AND name<=>
>> ‘中文'
>> Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]