You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/07/07 10:35:00 UTC
[jira] [Commented] (SPARK-32209) Re-use GetTimestamp in ParseToDate
[ https://issues.apache.org/jira/browse/SPARK-32209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152641#comment-17152641 ]
Apache Spark commented on SPARK-32209:
--------------------------------------
User 'MaxGekk' has created a pull request for this issue:
https://github.com/apache/spark/pull/28999
> Re-use GetTimestamp in ParseToDate
> ----------------------------------
>
> Key: SPARK-32209
> URL: https://issues.apache.org/jira/browse/SPARK-32209
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Maxim Gekk
> Priority: Minor
>
> Replace the combination of expressions SecondsToTimestamp and UnixTimestamp by GetTimestamp in ParseToDate. This will allow to eliminate unnecessary parsing overhead in: string -> timestamp -> long (seconds) -> timestamp -> date. After the changes, the chain will be: string -> timestamp -> date.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org