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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to