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/02/23 13:04:00 UTC
[jira] [Created] (SPARK-26978) Avoid magic time constants
Maxim Gekk created SPARK-26978:
----------------------------------
Summary: 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
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