jayzhan211 commented on code in PR #12308: URL: https://github.com/apache/datafusion/pull/12308#discussion_r1752935752
########## datafusion/sqllogictest/test_files/timestamps.slt: ########## @@ -2858,7 +2858,7 @@ statement error select to_local_time('2024-04-01T00:00:20Z'::timestamp, 'some string'); # invalid argument data type -statement error DataFusion error: Execution error: The to_local_time function can only accept timestamp as the arg, got Utf8 +statement error DataFusion error: Error during planning: Execution error: User\-defined coercion failed with Plan Review Comment: I think it is better to leave the reason of the error `The to_local_time function can only accept timestamp as the arg. got Utf8` here -- 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 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