[refactor](conjuncts) simplify conjuncts in exec node (#19254)
Co-authored-by: yiguolei <yiguolei@gmail.com> Currently, exec node save exprcontext**, but the object is in object pool, the code is very unclear. we could just use exprcontext*.
This commit is contained in:
@ -473,9 +473,9 @@ Status AggregationNode::prepare_profile(RuntimeState* state) {
|
||||
std::bind<void>(&AggregationNode::_update_memusage_with_serialized_key, this);
|
||||
_executor.close = std::bind<void>(&AggregationNode::_close_with_serialized_key, this);
|
||||
|
||||
_should_limit_output = _limit != -1 && // has limit
|
||||
!_vconjunct_ctx_ptr && // no having conjunct
|
||||
_needs_finalize; // agg's finalize step
|
||||
_should_limit_output = _limit != -1 && // has limit
|
||||
_vconjunct_ctx_ptr == nullptr && // no having conjunct
|
||||
_needs_finalize; // agg's finalize step
|
||||
}
|
||||
|
||||
return Status::OK();
|
||||
|
||||
Reference in New Issue
Block a user