Omega359 commented on code in PR #19460: URL: https://github.com/apache/datafusion/pull/19460#discussion_r2643462980
########## datafusion/sqllogictest/test_files/datetime/arith_date_interval.slt: ########## @@ -0,0 +1,27 @@ +# date + interval → timestamp +# Add an interval to a date +# date '2001-09-28' + interval '1 hour' → 2001-09-28 01:00:00 + +query D +SELECT '2001-09-28'::date + interval '1 hour' +---- +2001-09-28 Review Comment: It should actually, the result should actually be timestamp. I'll look into that. -- 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]
