Re:Stream Load delete 包含中文删除失败

2022-02-07 Thread 陈明雨
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 yo

Re: Stream Load delete 包含中文删除失败

2022-02-07 Thread nan tu
感谢您的回复,中文引号是在写邮件时误加的,我试过curl命令也是可以的,但是使用Java代码,发送http请求却是不能正常删除,返回体没有报错。 这是我的java代码: try (CloseableHttpClient httpclient = HttpClientBuilder.create().build()) { HttpPut httpPut = new HttpPut("http://127.0.0.1:8040/api/db/table1/_stream_load? "

Re: Stream Load delete 包含中文删除失败

2022-02-07 Thread nan tu
这是返回信息: 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, "LoadTime

Re:Re: Stream Load delete 包含中文删除失败

2022-02-07 Thread 陈明雨
Maybe you can refer to https://blog.csdn.net/edc0228/article/details/79421891 -- 此致!Best Regards 陈明雨 Mingyu Chen Email: chenmin...@apache.org 在 2022-02-07 20:40:50,"nan tu" 写道: >感谢您的回复,中文引号是在写邮件时误加的,我试过curl命令也是可以的,但是使用Java代码,发送http请求却是不能正常删除,返回体没有报错。 >这是我的java代码: >try (CloseableHttpC

Re: Stream Load delete 包含中文删除失败

2022-02-07 Thread nan tu
是的,这是一个解决http请求头不能编码中文字符的方案,实施的前提是发送方和接收方都清楚使用何种编解码方式,我可以使用base64编码中文,但是doris不清楚该用何种方式去解码。BE接收请求的解码方式是否可以更改,或者之后打算提供一个设置项吗? 谢谢。 > 2022年2月7日 下午9:55,陈明雨 写道: > > Maybe you can refer to https://blog.csdn.net/edc0228/article/details/79421891 > > > > > > > > -- > > 此致!Best Regards > 陈明雨 Mingy

Re: Stream Load delete 包含中文删除失败

2022-02-07 Thread brain
Is that a HttpPut method? >> 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 Without -X PUT > On Feb 7, 2022, at 8:40 PM, nan tu wrote: > > 感谢您

[DISCUSS] Graduate Apache Doris (Incubating) as a TLP

2022-02-07 Thread 陈明雨
Hi all. Apache Doris (Incubating) has been in development for over 3 years since it entered the Apache incubator in September 2018. During our time in the Incubator, we have learned a lot about open source software governance and the Apache Foundation's philosophy on managing, maintaining,