cloud-fan commented on a change in pull request #32959:
URL: https://github.com/apache/spark/pull/32959#discussion_r666833248
##########
File path: sql/core/src/test/resources/sql-tests/results/ansi/datetime.sql.out
##########
@@ -662,10 +661,9 @@ struct<date_sub(DATE '2001-10-01', 7):date>
-- !query
select date '2001-10-01' - '7'
-- !query schema
-struct<>
+struct<(DATE '2001-10-01' - 7):interval day>
-- !query output
-java.time.DateTimeException
-Cannot cast 7 to DateType.
+728567 00:00:00.000000000
Review comment:
Let's still request at least 4 digits for year
--
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]