Maxim Gekk created SPARK-32209:
----------------------------------

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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to