Details
Description
parse a timestamp string and return the date portion
to_date(string timestamp): date
Returns the date part of a timestamp string: to_date("1970-01-01 00:00:00") = "1970-01-01" (in some date format)
Attachments
Issue Links
- relates to
-
SPARK-8864 Date/time function and data type design
- Resolved
- links to