spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-24457) Performance improvement while converting stringToTimestamp in DateTimeUtils
Date Thu, 07 Jun 2018 08:58:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-24457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504431#comment-16504431
] 

Apache Spark commented on SPARK-24457:
--------------------------------------

User 'ssonker' has created a pull request for this issue:
https://github.com/apache/spark/pull/21505

> Performance improvement while converting stringToTimestamp in DateTimeUtils
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-24457
>                 URL: https://issues.apache.org/jira/browse/SPARK-24457
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Sharad Sonker
>            Priority: Major
>
> stringToTimestamp in DateTimeUtils creates Calendar instance for each input row even
if the input timezone is same. This can be improved by caching the calendar instance for each
input timezone.



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


Mime
View raw message