alamb commented on code in PR #18707:
URL: https://github.com/apache/datafusion/pull/18707#discussion_r2561245466


##########
datafusion/sqllogictest/test_files/timestamps.slt:
##########
@@ -3249,7 +3249,7 @@ statement error
 select to_local_time('2024-04-01T00:00:20Z'::timestamp, 'some string');
 
 # invalid argument data type
-statement error The to_local_time function can only accept Timestamp as the 
arg got Utf8
+statement error DataFusion error: Error during planning: Internal error: 
Expect TypeSignatureClass::Timestamp but received NativeType::String, DataType: 
Utf8

Review Comment:
   this seems wrong to me that a user error on query returns an internal error  
-- it should be a planning error I would think



-- 
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]

Reply via email to