[jira] [Commented] (SPARK-8197) date/time function: trunc
[ https://issues.apache.org/jira/browse/SPARK-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14648351#comment-14648351 ] Apache Spark commented on SPARK-8197: - User 'davies' has created a pull request for this issue: https://github.com/apache/spark/pull/7805 date/time function: trunc - Key: SPARK-8197 URL: https://issues.apache.org/jira/browse/SPARK-8197 Project: Spark Issue Type: Sub-task Components: SQL Reporter: Reynold Xin trunc(string date[, string format]): string trunc(date date[, string format]): date Returns date truncated to the unit specified by the format (as of Hive 1.2.0). Supported formats: MONTH/MON/MM, YEAR//YY. If format is omitted the date will be truncated to the nearest day. Example: trunc('2015-03-17', 'MM') = 2015-03-01. -- 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
[jira] [Commented] (SPARK-8197) date/time function: trunc
[ https://issues.apache.org/jira/browse/SPARK-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14599404#comment-14599404 ] Apache Spark commented on SPARK-8197: - User 'adrian-wang' has created a pull request for this issue: https://github.com/apache/spark/pull/6988 date/time function: trunc - Key: SPARK-8197 URL: https://issues.apache.org/jira/browse/SPARK-8197 Project: Spark Issue Type: Sub-task Components: SQL Reporter: Reynold Xin trunc(string date[, string format]): string trunc(date date[, string format]): date Returns date truncated to the unit specified by the format (as of Hive 1.2.0). Supported formats: MONTH/MON/MM, YEAR//YY. If format is omitted the date will be truncated to the nearest day. Example: trunc('2015-03-17', 'MM') = 2015-03-01. -- 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
[jira] [Commented] (SPARK-8197) date/time function: trunc
[ https://issues.apache.org/jira/browse/SPARK-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14578539#comment-14578539 ] Adrian Wang commented on SPARK-8197: I'll deal with this. date/time function: trunc - Key: SPARK-8197 URL: https://issues.apache.org/jira/browse/SPARK-8197 Project: Spark Issue Type: Sub-task Components: SQL Reporter: Reynold Xin trunc(string date[, string format]): string trunc(date date[, string format]): date Returns date truncated to the unit specified by the format (as of Hive 1.2.0). Supported formats: MONTH/MON/MM, YEAR//YY. If format is omitted the date will be truncated to the nearest day. Example: trunc('2015-03-17', 'MM') = 2015-03-01. -- 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