samuelcolvin commented on code in PR #12448: URL: https://github.com/apache/datafusion/pull/12448#discussion_r1757366092
########## datafusion/sqllogictest/test_files/interval.slt: ########## @@ -560,6 +585,22 @@ select '1 month'::interval + ts from t; 2000-02-01T12:11:10 2000-03-01T00:00:00 +# trailing extra unit, this matches PostgreSQL +query ? +select interval '5 day 1' hour +---- +5 days 1 hours + +# trailing extra unit, this matches PostgreSQL +query ? +select interval '5 day 0' hour +---- +5 days + +# This is interpreted as "0 hours" with PostgreSQL, should be fixed with +query error DataFusion error: Arrow error: Parser error: Invalid input syntax for type interval: "5 day HOUR" Review Comment: see https://github.com/apache/arrow-rs/issues/6390 -- 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]
