[GitHub] spark pull request #20031: [SPARK-22844][R] Adds date_trunc in R API

2017-12-23 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/20031 --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org

[GitHub] spark pull request #20031: [SPARK-22844][R] Adds date_trunc in R API

2017-12-22 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/20031#discussion_r158481310 --- Diff: R/pkg/R/functions.R --- @@ -40,10 +40,17 @@ NULL #' #' @param x Column to compute on. In \code{window}, it must be a time Column of

[GitHub] spark pull request #20031: [SPARK-22844][R] Adds date_trunc in R API

2017-12-22 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/20031#discussion_r158480821 --- Diff: R/pkg/R/functions.R --- @@ -40,10 +40,17 @@ NULL #' #' @param x Column to compute on. In \code{window}, it must be a time Column of

[GitHub] spark pull request #20031: [SPARK-22844][R] Adds date_trunc in R API

2017-12-21 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/20031#discussion_r158409003 --- Diff: R/pkg/R/functions.R --- @@ -41,9 +41,15 @@ NULL #' @param x Column to compute on. In \code{window}, it must be a time Column of #'

[GitHub] spark pull request #20031: [SPARK-22844][R] Adds date_trunc in R API

2017-12-21 Thread felixcheung
Github user felixcheung commented on a diff in the pull request: https://github.com/apache/spark/pull/20031#discussion_r158371712 --- Diff: R/pkg/R/functions.R --- @@ -41,9 +41,15 @@ NULL #' @param x Column to compute on. In \code{window}, it must be a time Column of #'

[GitHub] spark pull request #20031: [SPARK-22844][R] Adds date_trunc in R API

2017-12-20 Thread HyukjinKwon
GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/20031 [SPARK-22844][R] Adds date_trunc in R API ## What changes were proposed in this pull request? This PR adds `date_trunc` in R API as below: ```r > df <- createDataFrame(list