fix print log core where non-vectorized expr call ToStrVectorHeader

This commit is contained in:
Cai-Yao
2024-11-27 12:44:53 +00:00
committed by ob-robot
parent 8758c94ed3
commit 674f546a49

View File

@ -595,7 +595,7 @@ DEF_TO_STRING(ObToStringExpr)
} else { } else {
ObDatum *datum = NULL; ObDatum *datum = NULL;
// avoid casting the vec2.0 format. // avoid casting the vec2.0 format.
if (e_.enable_rich_format()) { if (c_.is_vectorized() && e_.enable_rich_format()) {
// mock skip to use eval_vector // mock skip to use eval_vector
int64_t batch_size = c_.get_batch_size(); int64_t batch_size = c_.get_batch_size();
ObArenaAllocator tmp_allocator; ObArenaAllocator tmp_allocator;