diff --git a/src/sql/rewrite/ob_transform_utils.cpp b/src/sql/rewrite/ob_transform_utils.cpp index ccae8d800f..182de2cb52 100644 --- a/src/sql/rewrite/ob_transform_utils.cpp +++ b/src/sql/rewrite/ob_transform_utils.cpp @@ -2668,6 +2668,7 @@ inline bool is_valid_sys_func(const ObItemType type) T_FUN_SYS_CEIL, T_FUN_SYS_LEAST, T_FUN_SYS_GREATEST, + T_FUN_SYS_CAST, }; for (int64_t i = 0; !ret && i < sizeof(WHITE_LIST) / sizeof(ObItemType); ++i) { ret = (type == WHITE_LIST[i]);