Fix to_date bug

This commit is contained in:
2149
2023-07-11 10:18:54 +00:00
committed by ob-robot
parent d8a41b5cff
commit 781d80c9b4

View File

@ -810,6 +810,9 @@ int ObRawExpr::is_non_pure_sys_func_expr(bool &is_non_pure) const
bool complete = true;
if (OB_UNLIKELY(!value.is_string_type())) {
// just pass, will report error when calc result type
if (value.is_null()) {
is_non_pure = true;
}
} else if (OB_FAIL(ObTimeConverter::check_dfm_deterministic(value.get_string(),
value.get_collation_type(),
need_tz, complete))) {