[bugfix] fix coredump caused by wrong type cast of OlapScanNode (#11165)

This commit is contained in:
TengJianPing
2022-07-25 17:57:53 +08:00
committed by GitHub
parent 0d50a658f5
commit 00e2944102
4 changed files with 6 additions and 22 deletions

View File

@ -669,7 +669,7 @@ void ExecNode::try_do_aggregate_serde_improve() {
return;
}
OlapScanNode* scan_node = static_cast<OlapScanNode*>(agg_node[0]->_children[0]);
ScanNode* scan_node = static_cast<ScanNode*>(agg_node[0]->_children[0]);
scan_node->set_no_agg_finalize();
}