Maxim Gekk created SPARK-28408:
----------------------------------

             Summary: Restrict tested values of DateType, TimestampType and 
CalendarIntervalType
                 Key: SPARK-28408
                 URL: https://issues.apache.org/jira/browse/SPARK-28408
             Project: Spark
          Issue Type: Test
          Components: SQL, Tests
    Affects Versions: 2.4.3
            Reporter: Maxim Gekk


Valid ranges for:
* DateType is [0001-01-01, 9999-12-31]
* TimestampType is [0001-01-01T00:00:00.000000Z, 9999-12-31T23:59:59.999999Z]
And CalendarIntervalType cannot define interval out of ranges above. 

Existing implementation of random literals generates values out of the ranges 
above, and rarely tests valid dates and timestamps. The ticket aims to restrict 
the random pseudo generators, and fix some tests.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to