You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HappenLee (via GitHub)" <gi...@apache.org> on 2023/10/16 09:42:29 UTC

[PR] opt load [doris]

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

   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #25480:
URL: https://github.com/apache/doris/pull/25480#issuecomment-1765652188

   (From new machine)TeamCity pipeline, clickbench performance test result:
    the sum of best hot time: 46.81 seconds
    stream load tsv:          553 seconds loaded 74807831229 Bytes, about 129 MB/s
    stream load json:         21 seconds loaded 2358488459 Bytes, about 107 MB/s
    stream load orc:          65 seconds loaded 1101869774 Bytes, about 16 MB/s
    stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
    insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
    storage size: 17161863637 Bytes


-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #25480:
URL: https://github.com/apache/doris/pull/25480#issuecomment-1765633097

   TeamCity be ut coverage result:
    Function Coverage: 37.00% (8281/22380) 
    Line Coverage: 29.04% (66402/228628)
    Region Coverage: 27.73% (34450/124242)
    Branch Coverage: 24.36% (17509/71886)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/015c2a6d1486bd037311006fdf36eb9f114852a8_015c2a6d1486bd037311006fdf36eb9f114852a8/report/index.html


-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] opt load [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on code in PR #25480:
URL: https://github.com/apache/doris/pull/25480#discussion_r1360714148


##########
be/src/vec/sink/vtablet_block_convertor.h:
##########
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor {
 
     Status _validate_column(RuntimeState* state, const TypeDescriptor& type, bool is_nullable,
                             vectorized::ColumnPtr column, size_t slot_index, bool* stop_processing,
-                            fmt::memory_buffer& error_prefix,
+                            fmt::memory_buffer& error_prefix, const uint32_t row_count,

Review Comment:
   warning: parameter 'row_count' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
   
   ```suggestion
                               fmt::memory_buffer& error_prefix, uint32_t row_count,
   ```
   



##########
be/src/vec/sink/vtablet_block_convertor.h:
##########
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor {
 
     Status _validate_column(RuntimeState* state, const TypeDescriptor& type, bool is_nullable,
                             vectorized::ColumnPtr column, size_t slot_index, bool* stop_processing,
-                            fmt::memory_buffer& error_prefix,
+                            fmt::memory_buffer& error_prefix, const uint32_t row_count,
                             vectorized::IColumn::Permutation* rows = nullptr);
 
     // make input data valid for OLAP table
     // return number of invalid/filtered rows.
     // invalid row number is set in Bitmap
     // set stop_processing if we want to stop the whole process now.
-    Status _validate_data(RuntimeState* state, vectorized::Block* block, int64_t& filtered_rows,
-                          bool* stop_processing);
+    Status _validate_data(RuntimeState* state, vectorized::Block* block, const uint32_t rows,

Review Comment:
   warning: parameter 'rows' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
   
   ```suggestion
       Status _validate_data(RuntimeState* state, vectorized::Block* block, uint32_t rows,
   ```
   



-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "HappenLee (via GitHub)" <gi...@apache.org>.
HappenLee merged PR #25480:
URL: https://github.com/apache/doris/pull/25480


-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #25480:
URL: https://github.com/apache/doris/pull/25480#issuecomment-1765619119

   PR approved by anyone and no changes requested.


-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "kaijchen (via GitHub)" <gi...@apache.org>.
kaijchen commented on code in PR #25480:
URL: https://github.com/apache/doris/pull/25480#discussion_r1361713194


##########
be/src/vec/sink/vtablet_block_convertor.h:
##########
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor {
 
     Status _validate_column(RuntimeState* state, const TypeDescriptor& type, bool is_nullable,
                             vectorized::ColumnPtr column, size_t slot_index, bool* stop_processing,
-                            fmt::memory_buffer& error_prefix,
+                            fmt::memory_buffer& error_prefix, const uint32_t row_count,
                             vectorized::IColumn::Permutation* rows = nullptr);
 
     // make input data valid for OLAP table
     // return number of invalid/filtered rows.
     // invalid row number is set in Bitmap
     // set stop_processing if we want to stop the whole process now.
-    Status _validate_data(RuntimeState* state, vectorized::Block* block, int64_t& filtered_rows,
-                          bool* stop_processing);
+    Status _validate_data(RuntimeState* state, vectorized::Block* block, const uint32_t rows,

Review Comment:
   Remove this `const` in header file.



##########
be/src/vec/sink/vtablet_block_convertor.h:
##########
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor {
 
     Status _validate_column(RuntimeState* state, const TypeDescriptor& type, bool is_nullable,
                             vectorized::ColumnPtr column, size_t slot_index, bool* stop_processing,
-                            fmt::memory_buffer& error_prefix,
+                            fmt::memory_buffer& error_prefix, const uint32_t row_count,

Review Comment:
   Remove this `const` in header file.



-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #25480:
URL: https://github.com/apache/doris/pull/25480#issuecomment-1765619078

   PR approved by at least one committer and no changes requested.


-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] [Performance](sink) SIMD the tablet sink valied data function [doris]

Posted by "dataroaring (via GitHub)" <gi...@apache.org>.
dataroaring commented on PR #25480:
URL: https://github.com/apache/doris/pull/25480#issuecomment-1765618844

   run buildall


-- 
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-unsubscribe@doris.apache.org

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


Re: [PR] opt load [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #25480:
URL: https://github.com/apache/doris/pull/25480#issuecomment-1764117670

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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-unsubscribe@doris.apache.org

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