tustvold commented on code in PR #6832:
URL: https://github.com/apache/arrow-datafusion/pull/6832#discussion_r1252122244


##########
datafusion/core/tests/sqllogictests/test_files/interval.slt:
##########
@@ -430,15 +430,11 @@ select '1 month'::interval + 
'1980-01-01T12:00:00'::timestamp;
 ----
 1980-02-01T12:00:00
 
-query D
+query error DataFusion error: Error during planning: Cannot coerce arithmetic 
expression Interval\(MonthDayNano\) \- Date32 to valid types

Review Comment:
   This query was only supported following #6778 and was done so accidentally - 
https://github.com/apache/arrow-datafusion/pull/6778#discussion_r1243994954
   
   I tested some other systems, duckdb explicitly doesn't support this, and I 
couldn't work out how to get mysql to express this, so I think this is fine



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

Reply via email to