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 2021/01/21 06:05:58 UTC

[GitHub] [incubator-doris] zh0122 commented on issue #5246: [Bug] BE crash when using Stream load

zh0122 commented on issue #5246:
URL: https://github.com/apache/incubator-doris/issues/5246#issuecomment-764403791


   > It's look like load and write json data failed, could you please use gdb to find which json data indeed cause the load failed. Thank you
   
   Using stream load to put a null list will cause the BE crash. 
   
   ```java
   // set headers
    // format = "json";  strip_outer_array = "true"  jsonpaths = "XXX"  columns = "XXX" 
   
           List<Object> list = new ArrayList<>();
           httpPut.setEntity(new StringEntity(list.toString(), Charset.forName("UTF-8")));
   
           response = httpClient.execute(httpPut);
   ```
   
   The null list value will cause BE crash.
   
   
   **Expected behavior**
   The BE should return a msg like "json value error" or sth else.


----------------------------------------------------------------
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