HyukjinKwon commented on pull request #28593:
URL: https://github.com/apache/spark/pull/28593#issuecomment-695861989


   I think it's because `timestamp_seconds` can be the direct replacement in 
`cast(num as timestamp)` but arguably `timestamp_millis` and `timestamp_micros` 
are less common. So I think the other two were not added (per 
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L45-L56)


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