[
https://issues.apache.org/jira/browse/SPARK-28408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-28408.
-----------------------------------
Resolution: Fixed
Assignee: Maxim Gekk
Fix Version/s: 3.0.0
This is resolved via https://github.com/apache/spark/pull/25166
> 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
> Assignee: Maxim Gekk
> Priority: Minor
> Fix For: 3.0.0
>
>
> 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]