Omega359 commented on code in PR #19460: URL: https://github.com/apache/datafusion/pull/19460#discussion_r2643643440
########## 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: I'm hesitant to change this after review. There are existing test cases in timestamps.slt that cover this as well so it's known existing behavior. I'll update the test file to note the difference with postgresql. -- 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]
