[fix](vectorized-engine) fix core when enable_vectorized_engine open (#7159)

This commit is contained in:
Pxl
2021-11-24 10:42:12 +08:00
committed by GitHub
parent e74bfea8e4
commit 3fcb3db57a

View File

@ -338,6 +338,10 @@ Status ExecNode::create_tree_helper(RuntimeState* state, ObjectPool* pool,
Status ExecNode::create_node(RuntimeState* state, ObjectPool* pool, const TPlanNode& tnode,
const DescriptorTbl& descs, ExecNode** node) {
if (state->enable_vectorized_exec()) {
return Status::InternalError("unsupport enable_vectorized_engine");
}
std::stringstream error_msg;
VLOG_CRITICAL << "tnode:\n" << apache::thrift::ThriftDebugString(tnode);