MaxGekk opened a new pull request #28999:
URL: https://github.com/apache/spark/pull/28999


   ### What changes were proposed in this pull request?
   Replace the combination of expressions `SecondsToTimestamp` and 
`UnixTimestamp` by `GetTimestamp` in `ParseToDate`.
   
   ### Why are the changes needed?
   Eliminate unnecessary parsing overhead in: **string -> timestamp -> long 
(seconds) -> timestamp -> date**. After the changes, the chain will be: 
**string -> timestamp -> date**.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   By existing test suites such as `DateFunctionsSuite`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to