You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2023/02/03 01:54:49 UTC
[GitHub] [doris] github-actions[bot] commented on a diff in pull request #16383: [Improvement](thrift) optimize thrift message
github-actions[bot] commented on code in PR #16383:
URL: https://github.com/apache/doris/pull/16383#discussion_r1095271524
##########
be/src/runtime/runtime_state.cpp:
##########
@@ -95,6 +95,34 @@ RuntimeState::RuntimeState(const TPlanFragmentExecParams& fragment_exec_params,
DCHECK(status.ok());
}
+RuntimeState::RuntimeState(const TPipelineLocalParams& pipeline_params, const TUniqueId& query_id,
+ const TQueryOptions& query_options, const TQueryGlobals& query_globals,
+ ExecEnv* exec_env)
+ : _profile("Fragment " + print_id(pipeline_params.fragment_instance_id)),
+ _obj_pool(new ObjectPool()),
+ _runtime_filter_mgr(new RuntimeFilterMgr(query_id, this)),
+ _data_stream_recvrs_pool(new ObjectPool()),
+ _unreported_error_idx(0),
+ _query_id(query_id),
+ _is_cancelled(false),
+ _per_fragment_instance_idx(0),
+ _num_rows_load_total(0),
+ _num_rows_load_filtered(0),
+ _num_rows_load_unselected(0),
+ _num_print_error_rows(0),
+ _num_bytes_load_total(0),
+ _normal_row_number(0),
+ _error_row_number(0),
+ _error_log_file_path(""),
Review Comment:
warning: redundant string initialization [readability-redundant-string-init]
```suggestion
,
```
--
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