maropu commented on a change in pull request #27080: revert [SPARK-23264][SQL] Make INTERVAL keyword optional when ANSI enabled URL: https://github.com/apache/spark/pull/27080#discussion_r362663069
########## File path: sql/core/src/test/resources/sql-tests/inputs/ansi/interval.sql ########## @@ -1,17 +1 @@ ---IMPORT interval.sql - --- the `interval` keyword can be omitted with ansi mode -select 1 year 2 days; -select '10-9' year to month; -select '20 15:40:32.99899999' day to second; -select 30 day day; -select date'2012-01-01' - '2-2' year to month; -select 1 month - 1 day; - --- malformed interval literal with ansi mode -select 1 year to month; -select '1' year to second; -select 1 year '2-1' year to month; -select (-30) day; -select (a + 1) day; -select 30 day day day; \ No newline at end of file +--IMPORT interval.sql Review comment: Still need this test file? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
