spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-8176) date/time function: to_date
Date Fri, 31 Jul 2015 02:23:04 GMT

     [ https://issues.apache.org/jira/browse/SPARK-8176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reynold Xin resolved SPARK-8176.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

> date/time function: to_date
> ---------------------------
>
>                 Key: SPARK-8176
>                 URL: https://issues.apache.org/jira/browse/SPARK-8176
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Adrian Wang
>             Fix For: 1.5.0
>
>
> parse a timestamp string and return the date portion
> {code}
> to_date(string timestamp): date
> {code}
> Returns the date part of a timestamp string: to_date("1970-01-01 00:00:00") = "1970-01-01"
(in some date format)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message