JNSimba opened a new pull request, #11552:
URL: https://github.com/apache/doris/pull/11552

   ## Problem summary
   
   1.At present, `read_json_by_line` and `fuzzy_parse` are used for json format 
writing, and the performance of streamload writing will decrease. It is 
modified to `strip_outer_array` and `fuzzy_parse` writing, and the speed is 
increased by about 3 times.
   
   2.Add csv writing, the column separator is set to `\x01`, and the row 
separator is set to `\x02`, the performance is about 5 times higher than before.
   
   **Performance Testing**
   150+ columns of schema, 50,000 pieces of data(180MB+), written using datax's 
filereader.
   The write of the previous version took 15.4s. The optimized json takes 4.9s, 
and the csv writing takes 3.3s
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [x] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [x] No Need
   3. Has document been added or modified:
       - [x] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [x] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [x] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to