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