yaooqinn commented on a change in pull request #29267:
URL: https://github.com/apache/spark/pull/29267#discussion_r461288263



##########
File path: sql/core/src/test/resources/sql-tests/inputs/datetime.sql
##########
@@ -146,7 +146,3 @@ select from_json('{"time":"26/October/2015"}', 'time 
Timestamp', map('timestampF
 select from_json('{"date":"26/October/2015"}', 'date Date', map('dateFormat', 
'dd/MMMMM/yyyy'));
 select from_csv('26/October/2015', 'time Timestamp', map('timestampFormat', 
'dd/MMMMM/yyyy'));
 select from_csv('26/October/2015', 'date Date', map('dateFormat', 
'dd/MMMMM/yyyy'));
-
-select from_unixtime(1, 'yyyyyyyyyyy-MM-dd');

Review comment:
       I checked these tests which are added to test cases that exceed 10-'y'. 
It's safe to remove because now it will fail starting from 7-'y' and  we have 
already covered these in both datetime-parsing.sql and datetime-formatting.sql

##########
File path: sql/core/src/test/resources/sql-tests/inputs/datetime.sql
##########
@@ -146,7 +146,3 @@ select from_json('{"time":"26/October/2015"}', 'time 
Timestamp', map('timestampF
 select from_json('{"date":"26/October/2015"}', 'date Date', map('dateFormat', 
'dd/MMMMM/yyyy'));
 select from_csv('26/October/2015', 'time Timestamp', map('timestampFormat', 
'dd/MMMMM/yyyy'));
 select from_csv('26/October/2015', 'date Date', map('dateFormat', 
'dd/MMMMM/yyyy'));
-
-select from_unixtime(1, 'yyyyyyyyyyy-MM-dd');

Review comment:
       I checked these tests which were added to test cases that exceed 10-'y'. 
It's safe to remove them now because they will fail starting from 7-'y' and  we 
have already covered these in both datetime-parsing.sql and 
datetime-formatting.sql




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