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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to