Fix the error message in creating mview with invalid datetime expression
This commit is contained in:
@ -427,8 +427,9 @@ int ObMViewSchedJobUtils::resolve_date_expr_to_timestamp(
|
|||||||
timestamp = tmp_timestamp;
|
timestamp = tmp_timestamp;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_INVALID_ARGUMENT;
|
||||||
LOG_WARN("unexpected obj type", KR(ret), K(obj));
|
LOG_WARN("invalid datetime expression", KR(ret), K(obj));
|
||||||
|
LOG_USER_ERROR(OB_INVALID_ARGUMENT, "datetime expression");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user