xumingxiang opened a new issue, #32024: URL: https://github.com/apache/doris/issues/32024
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.1.0 ### What's Wrong? 使用 stream load 方式 导入内存中的json数据,设置group_commit=async_mode 没有生效,返回的结果中没有包含groupCommit字段,label字段值页没有以“group_commit”为前缀, 代码如下,烦请指正: ``` private static async Task StreamLoadDataAsync(string loadUrl ,string tableName, List<LogEntity> logs) { using var content = new StringContent(JsonSerializer.Serialize(logs)); using var httpReq = new HttpRequestMessage(HttpMethod.Put, loadUrl); httpReq.Headers.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Basic", DORIS_LOAD_AUTH); httpReq.Headers.Add("format", "json"); httpReq.Headers.Add("strip_outer_array", "true"); httpReq.Headers.Add("fuzzy_parse", "true"); httpReq.Headers.Add("jsonpaths", jsonpaths); httpReq.Headers.Add("Keep-Alive", "true"); httpReq.Headers.Add("group_commit", "async_mode"); httpReq.Headers.Add("two_phase_commit", "false"); httpReq.Headers.Add("memtable_on_sink_node", "true"); httpReq.Headers.ExpectContinue = true; httpReq.Content = content; IHttpClientFactory httpClientFactory = ServiceLocator.Instance.GetRequiredService<IHttpClientFactory>(); var httpClient = httpClientFactory.CreateClient("DorisHttpClient"); httpClient.Timeout = TimeSpan.FromSeconds(30);//30s超时 var httpResp = await httpClient.SendAsync(httpReq); string respContent = await httpResp.Content.ReadAsStringAsync(); if (httpResp.IsSuccessStatusCode) { Console.WriteLine(respContent); } } ``` ### What You Expected? 返回结果中包含“groupCommit”字段 ### 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 - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
