fix outer join can not be eliminated by null reject filters contain cast

This commit is contained in:
ChangerR
2023-05-06 02:38:39 +00:00
committed by ob-robot
parent a1dc0d1c58
commit eb331d4f0d

View File

@ -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]);