github-actions[bot] commented on code in PR #42558: URL: https://github.com/apache/doris/pull/42558#discussion_r1818467303
########## be/src/pipeline/exec/exchange_sink_operator.cpp: ########## @@ -358,7 +383,7 @@ void ExchangeSinkOperatorX::_handle_eof_channel(RuntimeState* state, ChannelPtrT Status st) { channel->set_receiver_eof(st); // Chanel will not send RPC to the downstream when eof, so close chanel by OK status. - static_cast<void>(channel->close(state, Status::OK())); + static_cast<void>(channel->close(state)); } Status ExchangeSinkOperatorX::sink(RuntimeState* state, vectorized::Block* block, bool eos) { Review Comment: warning: function 'sink' has cognitive complexity of 242 (threshold 50) [readability-function-cognitive-complexity] ```cpp Status ExchangeSinkOperatorX::sink(RuntimeState* state, vectorized::Block* block, bool eos) { ^ ``` <details> <summary>Additional context</summary> **be/src/pipeline/exec/exchange_sink_operator.cpp:400:** +1, including nesting penalty of 0, nesting level increased to 1 ```cpp if (all_receiver_eof) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:409:** +1, including nesting penalty of 0, nesting level increased to 1 ```cpp if (state->get_query_ctx()->low_memory_mode() && local_state._sink_buffer != nullptr) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:409:** +1 ```cpp if (state->get_query_ctx()->low_memory_mode() && local_state._sink_buffer != nullptr) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:413:** +1, including nesting penalty of 0, nesting level increased to 1 ```cpp if (_part_type == TPartitionType::UNPARTITIONED || local_state.channels.size() == 1) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:417:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (local_state.only_local_exchange) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:418:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp if (!block->empty()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:433:** +1, nesting level increased to 2 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:437:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(local_state._serializer.next_serialized_block( ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:437:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(local_state._serializer.next_serialized_block( ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:440:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp if (serialized) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:442:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp if (!cur_block.empty()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:443:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp RETURN_IF_ERROR(local_state._serializer.serialize_block( ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:443:** +6, including nesting penalty of 5, nesting level increased to 6 ```cpp RETURN_IF_ERROR(local_state._serializer.serialize_block( ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:446:** +1, nesting level increased to 4 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:450:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp if (state->get_query_ctx()->low_memory_mode()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:475:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp if (moved) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:477:** +1, nesting level increased to 4 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:485:** +1, nesting level increased to 1 ```cpp } else if (_part_type == TPartitionType::RANDOM) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:488:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (!current_channel->is_receiver_eof()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:490:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp if (current_channel->is_local()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:492:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:224:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:492:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:225:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp if (status.is<ErrorCode::END_OF_FILE>()) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:492:** +1, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:227:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp } else { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:492:** +6, including nesting penalty of 5, nesting level increased to 6 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:492:** +7, including nesting penalty of 6, nesting level increased to 7 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:493:** +1, nesting level increased to 3 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:495:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(local_state._serializer.serialize_block(block, pblock.get())); ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:495:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp RETURN_IF_ERROR(local_state._serializer.serialize_block(block, pblock.get())); ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:497:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:224:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:497:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:225:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp if (status.is<ErrorCode::END_OF_FILE>()) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:497:** +1, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:227:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp } else { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:497:** +6, including nesting penalty of 5, nesting level increased to 6 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:497:** +7, including nesting penalty of 6, nesting level increased to 7 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:502:** +1, nesting level increased to 1 ```cpp } else if (_part_type == TPartitionType::HASH_PARTITIONED || ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:507:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp RETURN_IF_ERROR(local_state._partitioner->do_partitioning(state, block)); ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:507:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(local_state._partitioner->do_partitioning(state, block)); ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:513:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (_part_type == TPartitionType::HASH_PARTITIONED) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:514:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(channel_add_rows( ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:514:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(channel_add_rows( ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:517:** +1, nesting level increased to 2 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:518:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(channel_add_rows( ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:518:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(channel_add_rows( ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:530:** +1, nesting level increased to 1 ```cpp } else if (_part_type == TPartitionType::TABLET_SINK_SHUFFLE_PARTITIONED) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:536:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp RETURN_IF_ERROR(local_state._send_new_partition_batch()); ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:536:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(local_state._send_new_partition_batch()); ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:543:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (input_rows > 0) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:548:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(local_state._row_distribution.generate_rows_distribution( ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:548:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(local_state._row_distribution.generate_rows_distribution( ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:554:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp for (int idx = 0; idx < row_ids.size(); ++idx) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:562:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (eos) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:564:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(local_state._send_new_partition_batch()); ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:564:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(local_state._send_new_partition_batch()); ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:568:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp RETURN_IF_ERROR(channel_add_rows_with_idx(state, local_state.channels, num_channels, ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:568:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(channel_add_rows_with_idx(state, local_state.channels, num_channels, ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:578:** +1, nesting level increased to 1 ```cpp } else if (_part_type == TPartitionType::TABLE_SINK_HASH_PARTITIONED) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:585:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp RETURN_IF_ERROR(local_state._partitioner->do_partitioning(state, block)); ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:585:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(local_state._partitioner->do_partitioning(state, block)); ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:589:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp RETURN_IF_ERROR(channel_add_rows_with_idx( ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:589:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp RETURN_IF_ERROR(channel_add_rows_with_idx( ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:600:** +1, nesting level increased to 1 ```cpp } else if (_part_type == TPartitionType::TABLE_SINK_RANDOM_PARTITIONED) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:604:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (!current_channel->is_receiver_eof()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:606:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp if (current_channel->is_local()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:608:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:224:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:608:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:225:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp if (status.is<ErrorCode::END_OF_FILE>()) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:608:** +1, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:227:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp } else { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:608:** +6, including nesting penalty of 5, nesting level increased to 6 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:608:** +7, including nesting penalty of 6, nesting level increased to 7 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:609:** +1, nesting level increased to 3 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:611:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp RETURN_IF_ERROR(local_state._serializer.serialize_block(block, pblock.get())); ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:611:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp RETURN_IF_ERROR(local_state._serializer.serialize_block(block, pblock.get())); ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:613:** +4, including nesting penalty of 3, nesting level increased to 4 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:224:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:613:** +5, including nesting penalty of 4, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:225:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp if (status.is<ErrorCode::END_OF_FILE>()) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:613:** +1, nesting level increased to 5 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:227:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp } else { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:613:** +6, including nesting penalty of 5, nesting level increased to 6 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:639:** expanded from macro 'RETURN_IF_ERROR' ```cpp do { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:613:** +7, including nesting penalty of 6, nesting level increased to 7 ```cpp HANDLE_CHANNEL_STATUS(state, current_channel, status); ^ ``` **be/src/vec/sink/vdata_stream_sender.h:228:** expanded from macro 'HANDLE_CHANNEL_STATUS' ```cpp RETURN_IF_ERROR(status); \ ^ ``` **be/src/common/status.h:641:** expanded from macro 'RETURN_IF_ERROR' ```cpp if (UNLIKELY(!_status_.ok())) { \ ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:618:** +2, including nesting penalty of 1, nesting level increased to 2 ```cpp if (_writer_count < local_state.channels.size()) { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:619:** +3, including nesting penalty of 2, nesting level increased to 3 ```cpp if (_data_processed >= ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:626:** +1, nesting level increased to 1 ```cpp } else { ^ ``` **be/src/pipeline/exec/exchange_sink_operator.cpp:633:** +1, including nesting penalty of 0, nesting level increased to 1 ```cpp if (eos) { ^ ``` </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: 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