cloud-fan commented on a change in pull request #32176:
URL: https://github.com/apache/spark/pull/32176#discussion_r614097677



##########
File path: sql/core/src/test/resources/sql-tests/results/extract.sql.out
##########
@@ -7,311 +7,355 @@ CREATE TEMPORARY VIEW t AS select '2011-05-06 
07:08:09.1234567' as c, interval 1
 -- !query schema
 struct<>
 -- !query output
+org.apache.spark.sql.catalyst.parser.ParseException
 
+Mixing of year-month and day-time fields is not allowed. Set 
'spark.sql.legacy.interval.enabled' to true to enable the legacy interval type 
which supports mixed fields.(line 1, pos 70)
+
+== SQL ==
+CREATE TEMPORARY VIEW t AS select '2011-05-06 07:08:09.1234567' as c, interval 
10 year 20 month 30 day 40 hour 50 minute 6.7890 second as i

Review comment:
       This whole test file is broken. Can we update the test?




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to