cloud-fan commented on a change in pull request #26497: [SPARK-29873][SQL][TESTS] Support `--import` directive to load queries from another test case in SQLQueryTestSuite URL: https://github.com/apache/spark/pull/26497#discussion_r345643000
########## File path: sql/core/src/test/resources/sql-tests/inputs/literals.sql ########## @@ -143,17 +143,6 @@ select interval 1 year '2-1' year to month; select interval 1 year '12:11:10' hour to second; select interval '10-9' year to month '1' year; select interval '12:11:10' hour to second '1' year; --- malformed interval literal with ansi mode -SET spark.sql.ansi.enabled=true; -select interval; -select interval 1 fake_unit; -select interval 1 year to month; -select 1 year to month; Review comment: we should move some tests to `ansi/interval.sql`. They are not duplicated tests, they test without the leading "interval". ---------------------------------------------------------------- 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]
