[jira] [Assigned] (SPARK-27035) Current time with microsecond resolution

2019-03-06 Thread Sean Owen (JIRA)


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

Sean Owen reassigned SPARK-27035:
-

Assignee: Maxim Gekk

> Current time with microsecond resolution
> 
>
> Key: SPARK-27035
> URL: https://issues.apache.org/jira/browse/SPARK-27035
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.4.0
>Reporter: Maxim Gekk
>Assignee: Maxim Gekk
>Priority: Minor
>  Labels: release-notes
>
> Currently,  the CurrentTimestamp expression uses 
> [System.currentTimeMillis()|[https://github.com/apache/spark/blob/a2a41b7bf2bfdcd1cff242013716ac7bd84bdacd/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala#L99]]
>  to take current time with millisecond resolution. The Instant.now allows 
> potentially to take current time with microsecond resolution: 
> [https://bugs.openjdk.java.net/browse/JDK-8068730] . The ticket aims to 
> replace *System.currentTimeMillis()* by *Instant.now()*.



--
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-27035) Current time with microsecond resolution

2019-03-03 Thread Apache Spark (JIRA)


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

Apache Spark reassigned SPARK-27035:


Assignee: (was: Apache Spark)

> Current time with microsecond resolution
> 
>
> Key: SPARK-27035
> URL: https://issues.apache.org/jira/browse/SPARK-27035
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.4.0
>Reporter: Maxim Gekk
>Priority: Minor
>
> Currently,  the CurrentTimestamp expression uses 
> [System.currentTimeMillis()|[https://github.com/apache/spark/blob/a2a41b7bf2bfdcd1cff242013716ac7bd84bdacd/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala#L99]]
>  to take current time with millisecond resolution. The Instant.now allows 
> potentially to take current time with microsecond resolution: 
> [https://bugs.openjdk.java.net/browse/JDK-8068730] . The ticket aims to 
> replace *System.currentTimeMillis()* by *Instant.now()*.



--
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-27035) Current time with microsecond resolution

2019-03-03 Thread Apache Spark (JIRA)


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

Apache Spark reassigned SPARK-27035:


Assignee: Apache Spark

> Current time with microsecond resolution
> 
>
> Key: SPARK-27035
> URL: https://issues.apache.org/jira/browse/SPARK-27035
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.4.0
>Reporter: Maxim Gekk
>Assignee: Apache Spark
>Priority: Minor
>
> Currently,  the CurrentTimestamp expression uses 
> [System.currentTimeMillis()|[https://github.com/apache/spark/blob/a2a41b7bf2bfdcd1cff242013716ac7bd84bdacd/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala#L99]]
>  to take current time with millisecond resolution. The Instant.now allows 
> potentially to take current time with microsecond resolution: 
> [https://bugs.openjdk.java.net/browse/JDK-8068730] . The ticket aims to 
> replace *System.currentTimeMillis()* by *Instant.now()*.



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