github-actions[bot] commented on code in PR #32985:
URL: https://github.com/apache/doris/pull/32985#discussion_r1542913120
##########
be/src/pipeline/pipeline_x/operator.cpp:
##########
@@ -167,33 +167,14 @@ Status OperatorXBase::close(RuntimeState* state) {
}
void PipelineXLocalStateBase::clear_origin_block() {
-
_origin_block.clear_column_data(_parent->intermediate_row_desc().num_materialized_slots());
+
_origin_block.clear_column_data(_parent->_row_descriptor.num_materialized_slots());
}
Status OperatorXBase::do_projections(RuntimeState* state, vectorized::Block*
origin_block,
vectorized::Block* output_block) const {
- auto* local_state = state->get_local_state(operator_id());
+ auto local_state = state->get_local_state(operator_id());
Review Comment:
warning: 'auto local_state' can be declared as 'auto *local_state'
[readability-qualified-auto]
```suggestion
auto *local_state = state->get_local_state(operator_id());
```
--
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]