[refactor] Remove debug action since it is never used. (#10484)

Co-authored-by: yiguolei <yiguolei@gmail.com>
This commit is contained in:
yiguolei
2022-06-29 20:37:51 +08:00
committed by GitHub
parent 9b6ed1525d
commit 4ec6e3ee81
40 changed files with 4 additions and 157 deletions

View File

@ -160,7 +160,6 @@ Status HashJoinNode::close(RuntimeState* state) {
return Status::OK();
}
RETURN_IF_ERROR(exec_debug_action(TExecNodePhase::CLOSE));
// Must reset _probe_batch in close() to release resources
_probe_batch.reset(nullptr);
@ -220,7 +219,6 @@ Status HashJoinNode::construct_hash_table(RuntimeState* state) {
Status HashJoinNode::open(RuntimeState* state) {
RETURN_IF_ERROR(ExecNode::open(state));
RETURN_IF_ERROR(exec_debug_action(TExecNodePhase::OPEN));
SCOPED_TIMER(_runtime_profile->total_time_counter());
SCOPED_SWITCH_TASK_THREAD_LOCAL_MEM_TRACKER(mem_tracker());
RETURN_IF_CANCELLED(state);
@ -302,7 +300,6 @@ Status HashJoinNode::open(RuntimeState* state) {
}
Status HashJoinNode::get_next(RuntimeState* state, RowBatch* out_batch, bool* eos) {
RETURN_IF_ERROR(exec_debug_action(TExecNodePhase::GETNEXT));
RETURN_IF_CANCELLED(state);
// In most cases, no additional memory overhead will be applied for at this stage,
// but if the expression calculation in this node needs to apply for additional memory,