github-actions[bot] commented on code in PR #30543:
URL: https://github.com/apache/doris/pull/30543#discussion_r1471355997


##########
be/src/vec/exec/join/process_hash_table_probe_impl.h:
##########
@@ -370,8 +440,7 @@ Status ProcessHashTableProbe<JoinOpType, 
Parent>::do_mark_join_conjuncts(
 
 template <int JoinOpType, typename Parent>
 Status ProcessHashTableProbe<JoinOpType, Parent>::do_other_join_conjuncts(

Review Comment:
   warning: function 'do_other_join_conjuncts' has cognitive complexity of 61 
(threshold 50) [readability-function-cognitive-complexity]
   ```cpp
   ame Parent>
                                                                 ^
   ```
   <details>
   <summary>Additional context</summary>
   
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:445:** +1, including 
nesting penalty of 0, nesting level increased to 1
   ```cpp
   ck->rows();
                   ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:454:** +1, including 
nesting penalty of 0, nesting level increased to 1
   ```cpp
   ll = false;
                       ^
   ```
   **be/src/common/status.h:540:** expanded from macro 'RETURN_IF_ERROR'
   ```cpp
       do {                                \
       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:454:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   ll = false;
                       ^
   ```
   **be/src/common/status.h:542:** expanded from macro 'RETURN_IF_ERROR'
   ```cpp
           if (UNLIKELY(!_status_.ok())) { \
           ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:469:** +1, including 
nesting penalty of 0, nesting level increased to 1
   ```cpp
     .data();
                   ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:476:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   re are any.
                       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:480:** +3, including 
nesting penalty of 2, nesting level increased to 3
   ```cpp
   mn_ptr[i];
                           ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:483:** +1, nesting 
level increased to 3
   ```cpp
      } else {
        ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:485:** +3, including 
nesting penalty of 2, nesting level increased to 3
   ```cpp
             }
                           ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:490:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   
                       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:491:** +3, including 
nesting penalty of 2, nesting level increased to 3
   ```cpp
   unt; ++i) {
                           ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:494:** +4, including 
nesting penalty of 3, nesting level increased to 4
   ```cpp
   mn_ptr[i]);
                               ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:500:** +1, nesting 
level increased to 1
   ```cpp
   er_column);
                          ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:506:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   ().data();
                       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:509:** +3, including 
nesting penalty of 2, nesting level increased to 3
   ```cpp
   indexs[i];
                           ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:510:** +4, including 
nesting penalty of 3, nesting level increased to 4
   ```cpp
   EMI_JOIN) {
                               ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:512:** +1, nesting 
level increased to 4
   ```cpp
   i] = false;
                                      ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:516:** +1, nesting 
level increased to 4
   ```cpp
      } else {
        ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:519:** +1, nesting 
level increased to 3
   ```cpp
      } else {
        ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:519:** +4, including 
nesting penalty of 3, nesting level increased to 4
   ```cpp
      } else {
                               ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:522:** +1, nesting 
level increased to 4
   ```cpp
      } else {
        ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:523:** +5, including 
nesting penalty of 4, nesting level increased to 5
   ```cpp
   i] = false;
                                   ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:531:** +1, nesting 
level increased to 1
   ```cpp
   er_column);
                          ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:533:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   NTI_JOIN) {
                       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:536:** +1, nesting 
level increased to 1
   ```cpp
   ;
                          ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:538:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   r_size = 0;
                       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:545:** +1, including 
nesting penalty of 0, nesting level increased to 1
   ```cpp
    0);
                   ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:549:** +1, nesting 
level increased to 1
   ```cpp
      } else {
        ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:549:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
      } else {
                       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:554:** +2, including 
nesting penalty of 1, nesting level increased to 2
   ```cpp
   ;
                       ^
   ```
   **be/src/common/status.h:540:** expanded from macro 'RETURN_IF_ERROR'
   ```cpp
       do {                                \
       ^
   ```
   **be/src/vec/exec/join/process_hash_table_probe_impl.h:554:** +3, including 
nesting penalty of 2, nesting level increased to 3
   ```cpp
   ;
                       ^
   ```
   **be/src/common/status.h:542:** expanded from macro 'RETURN_IF_ERROR'
   ```cpp
           if (UNLIKELY(!_status_.ok())) { \
           ^
   ```
   
   </details>
   



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

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