[refactor](exprcontext) move close to expr context's dector method (#20747)

The close method does nothing. But I am not sure we could remove it. So that I add it to dector method and remove many many calls.
This commit is contained in:
yiguolei
2023-06-14 18:01:07 +08:00
committed by GitHub
parent b97537b04b
commit 31a4f96f01
51 changed files with 56 additions and 230 deletions

View File

@ -182,12 +182,6 @@ void ExecNode::release_resource(doris::RuntimeState* state) {
COUNTER_SET(_rows_returned_counter, _num_rows_returned);
}
for (auto& conjunct : _conjuncts) {
conjunct->close(state);
}
vectorized::VExpr::close(_projections, state);
runtime_profile()->add_to_span(_span);
_is_resource_released = true;
}