[jira] [Assigned] (SPARK-26978) Avoid magic time constants

2019-02-26 Thread Sean Owen (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-26978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen reassigned SPARK-26978:
-

Assignee: Maxim Gekk

> 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
>Assignee: Maxim Gekk
>Priority: Trivial
>
> Some date/time related functions have magic constants like 1000 and 100 
> 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



[jira] [Assigned] (SPARK-26978) Avoid magic time constants

2019-02-23 Thread Apache Spark (JIRA)


 [ 
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 100 
> 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



[jira] [Assigned] (SPARK-26978) Avoid magic time constants

2019-02-23 Thread Apache Spark (JIRA)


 [ 
https://issues.apache.org/jira/browse/SPARK-26978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-26978:


Assignee: 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
>Assignee: Apache Spark
>Priority: Trivial
>
> Some date/time related functions have magic constants like 1000 and 100 
> 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