From 29f4deca9bcf2f5ace07c42a6d985046073f2a0c Mon Sep 17 00:00:00 2001 From: Luwei <814383175@qq.com> Date: Fri, 25 Oct 2024 17:19:56 +0800 Subject: [PATCH] fix --- be/src/exec/tablet_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/exec/tablet_info.cpp b/be/src/exec/tablet_info.cpp index c1c1df8f46d950..32012b83b7ab92 100644 --- a/be/src/exec/tablet_info.cpp +++ b/be/src/exec/tablet_info.cpp @@ -173,7 +173,7 @@ Status OlapTableSchemaParam::init(const TOlapTableSchemaParam& tschema) { std::string is_null_str = tcolumn_desc.is_allow_null ? "true" : "false"; TPrimitiveType::type col_type = has_invalid_type ? TPrimitiveType::INVALID_TYPE : tcolumn_desc.column_type.type; - std::string data_type_str = std::to_string(int64_t(col_type)); + std::string data_type_str = std::to_string(int64_t(thrift_to_type(col_type))); auto it = slots_map.find(to_lower(tcolumn_desc.column_name) + "+" + data_type_str + is_null_str); if (it == slots_map.end()) {