You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/02/23 13:09:00 UTC
[jira] [Assigned] (SPARK-26978) Avoid magic time constants
[ https://issues.apache.org/jira/browse/SPARK-26978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-26978:
------------------------------------
Assignee: (was: Apache Spark)
> Avoid magic time constants
> --------------------------
>
> Key: SPARK-26978
> URL: https://issues.apache.org/jira/browse/SPARK-26978
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core, SQL
> Affects Versions: 2.4.0
> Reporter: Maxim Gekk
> Priority: Trivial
>
> Some date/time related functions have magic constants like 1000 and 1000000 which makes harder to track correctness of time/date manipulations. The ticket aims to replace those constant by appropriate constants from DateTimeUtils and java.util.concurrent.TimeUnit._.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org