You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2019/07/15 21:05:00 UTC
[jira] [Created] (SPARK-28408) Restrict tested values of DateType,
TimestampType and CalendarIntervalType
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org