-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test #43611
test #43611
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
7aee8ae
to
7551d08
Compare
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
} | ||
|
||
template <bool BuildSide, bool IsSemi> | ||
void NestedLoopJoinProbeLocalStateCross::_finalize_current_phase(vectorized::Block& block, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_finalize_current_phase' has cognitive complexity of 74 (threshold 50) [readability-function-cognitive-complexity]
void NestedLoopJoinProbeLocalStateCross::_finalize_current_phase(vectorized::Block& block,
^
Additional context
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:147: +1, including nesting penalty of 0, nesting level increased to 1
if constexpr (BuildSide) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:151: +2, including nesting penalty of 1, nesting level increased to 2
for (; i < build_block_sz && column_size < batch_size; i++) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:151: +1
for (; i < build_block_sz && column_size < batch_size; i++) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:162: +3, including nesting penalty of 2, nesting level increased to 3
for (uint32_t j = 0; j < num_rows; j++) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:163: +4, including nesting penalty of 3, nesting level increased to 4
if constexpr (IsSemi) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:164: +5, including nesting penalty of 4, nesting level increased to 5
if (cur_visited_flags[j]) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:167: +1, nesting level increased to 4
} else {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:168: +5, including nesting penalty of 4, nesting level increased to 5
if (!cur_visited_flags[j]) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:175: +3, including nesting penalty of 2, nesting level increased to 3
for (size_t j = 0; j < p._num_probe_side_columns; ++j) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:182: +3, including nesting penalty of 2, nesting level increased to 3
for (size_t j = 0; j < p._num_build_side_columns; ++j) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:184: +4, including nesting penalty of 3, nesting level increased to 4
if (!src_column.column->is_nullable() &&
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:184: +1
if (!src_column.column->is_nullable() &&
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:197: +1, nesting level increased to 4
} else {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:206: +1, nesting level increased to 1
} else {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:207: +2, including nesting penalty of 1, nesting level increased to 2
if (!p._is_mark_join) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:210: +3, including nesting penalty of 2, nesting level increased to 3
for (int j = _left_block_start_pos;
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:212: +4, including nesting penalty of 3, nesting level increased to 4
if (_cur_probe_row_visited_flags[j] == IsSemi) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:214: +5, including nesting penalty of 4, nesting level increased to 5
for (size_t i = 0; i < p._num_probe_side_columns; ++i) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:217: +6, including nesting penalty of 5, nesting level increased to 6
if (!src_column.column->is_nullable() && dst_columns[i]->is_nullable()) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:217: +1
if (!src_column.column->is_nullable() && dst_columns[i]->is_nullable()) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:226: +1, nesting level increased to 6
} else {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:232: +3, including nesting penalty of 2, nesting level increased to 3
if (new_size > column_size) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:233: +4, including nesting penalty of 3, nesting level increased to 4
for (size_t i = 0; i < p._num_build_side_columns; ++i) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:239: +1, nesting level increased to 2
} else {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:243: +3, including nesting penalty of 2, nesting level increased to 3
for (int j = _left_block_start_pos;
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:247: +3, including nesting penalty of 2, nesting level increased to 3
for (size_t i = 0; i < p._num_probe_side_columns; ++i) {
^
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:254: +3, including nesting penalty of 2, nesting level increased to 3
for (size_t i = 0; i < p._num_build_side_columns; ++i) {
^
} | ||
|
||
template <bool BuildSide, bool IsSemi> | ||
void NestedLoopJoinProbeLocalStateCross::_finalize_current_phase(vectorized::Block& block, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: function '_finalize_current_phase' exceeds recommended size/complexity thresholds [readability-function-size]
void NestedLoopJoinProbeLocalStateCross::_finalize_current_phase(vectorized::Block& block,
^
Additional context
be/src/pipeline/exec/nested_loop_join_probe_operator_cross.cpp:141: 120 lines including whitespace and comments (threshold 80)
void NestedLoopJoinProbeLocalStateCross::_finalize_current_phase(vectorized::Block& block,
^
|
||
#pragma once | ||
|
||
#include <stdint.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: inclusion of deprecated C++ header 'stdint.h'; consider using 'cstdint' instead [modernize-deprecated-headers]
#include <stdint.h> | |
#include <cstdint> |
TeamCity be ut coverage result: |
run buildall |
7551d08
to
e0e3306
Compare
run buildall |
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)