[ https://issues.apache.org/jira/browse/SPARK-8176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin updated SPARK-8176: ------------------------------- Description: 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) See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF was: # 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) See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF > 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 > > 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) > See https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org