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

Reynold Xin resolved SPARK-13185.
---------------------------------
       Resolution: Fixed
         Assignee: Carson Wang
    Fix Version/s: 2.0.0

> Improve the performance of DateTimeUtils.StringToDate by reusing Calendar 
> objects
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-13185
>                 URL: https://issues.apache.org/jira/browse/SPARK-13185
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Carson Wang
>            Assignee: Carson Wang
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> It is expensive to create java Calendar objects in each method of 
> DateTimeUtils. We can reuse the objects to improve the performance. In one of 
> my Sql queries which calls StringToDate many times, the duration of the stage 
> improved from 1.6 minutes to 1.2 minutes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to