morningman commented on a change in pull request #2956: Add multi-thread ver 
olaptablesink for LOAD
URL: https://github.com/apache/incubator-doris/pull/2956#discussion_r382893830
 
 

 ##########
 File path: be/src/exec/tablet_sink.h
 ##########
 @@ -206,6 +289,12 @@ class OlapTableSink : public DataSink {
     // invalid row number is set in Bitmap
     int _validate_data(RuntimeState* state, RowBatch* batch, Bitmap* 
filter_bitmap);
 
+    bool _use_multi_thread() { return _buffer_num != 0; }
 
 Review comment:
   ```suggestion
       bool _use_multi_thread() { return _buffer_num > 0; }
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to