Date validation does not check 00 in day part. #5906
Labels
affects/none
PR/issue: this bug affects none version.
severity/none
Severity of bug
type/bug
Type: something is unexpected
Please check the FAQ documentation before raising an issue
Describe the bug (required)
the validation in date parser only checks the overflow of day.
input like DATE("2024-07-00") will not be rejected in writing, and will finally lead to a problem in reading.
Your Environments (required)
uname -a
g++ --version
orclang++ --version
lscpu
fee249b3
)How To Reproduce(required)
Steps to reproduce the behavior:
DATE("2024-07-00")
Expected behavior
this invalid date should be rejected in the parser.
Additional context
The text was updated successfully, but these errors were encountered: