Omega359 opened a new issue, #10471: URL: https://github.com/apache/datafusion/issues/10471
### Describe the bug to_date parsing of a date string with a format fails with an error parsing timestamp. ### To Reproduce ``` ❯ docker run -it -v /tmp:/data datafusion-cli DataFusion CLI v38.0.0 > select to_date('2022-01-23', '%Y-%m-%d'); Execution error: Error parsing timestamp from '2022-01-23' using format '%Y-%m-%d': input is not enough for unique date and time > select to_date('2022-01-23'); +-----------------------------+ | to_date(Utf8("2022-01-23")) | +-----------------------------+ | 2022-01-23 | +-----------------------------+ 1 row(s) fetched. ``` ### Expected behavior Date parsing of a date string should succeed ### Additional context _No response_ -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org