Mryange opened a new pull request, #36461: URL: https://github.com/apache/doris/pull/36461
## Proposed changes For functions like FunctionDateOrDateTimeToSomething that take date-type inputs, the input data should not contain invalid values. If there are invalid values, they should be set to null. before ``` mysql [test]>select count(to_date(dt)) from dates; +--------------------+ | count(to_date(dt)) | +--------------------+ | 64000000 | +--------------------+ 1 row in set (0.32 sec) ``` now ``` mysql [test]>select count(to_date(dt)) from dates; +--------------------+ | count(to_date(dt)) | +--------------------+ | 63985581 | +--------------------+ 1 row in set (0.09 sec) ``` <!--Describe your changes.--> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
