OpenMLDB
OpenMLDB copied to clipboard
udf: `dayofyear` should return `NULL` if input date is invalid
Bug Description
dayofyear('2021-2-29') should output NULL instead 0
similar functions should checked as well like dayofmonth etc
Expected Behavior
Steps to Reproduce