aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/R/DataFrame.R
diff options
context:
space:
mode:
authorSun Rui <rui.sun@intel.com>2016-05-05 18:49:43 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2016-05-05 18:49:43 -0700
commit157a49aa410dc1870cd171148d317084c5a90d23 (patch)
treec4d4d81b171c24308c70c8289351c0e7c497ff98 /R/pkg/R/DataFrame.R
parent7f5922aa4a810a0b9cc783956a8b7aa3dad86a0a (diff)
downloadspark-157a49aa410dc1870cd171148d317084c5a90d23.tar.gz
spark-157a49aa410dc1870cd171148d317084c5a90d23.tar.bz2
spark-157a49aa410dc1870cd171148d317084c5a90d23.zip
[SPARK-11395][SPARKR] Support over and window specification in SparkR.
This PR: 1. Implement WindowSpec S4 class. 2. Implement Window.partitionBy() and Window.orderBy() as utility functions to create WindowSpec objects. 3. Implement over() of Column class. Author: Sun Rui <rui.sun@intel.com> Author: Sun Rui <sunrui2016@gmail.com> Closes #10094 from sun-rui/SPARK-11395.
Diffstat (limited to 'R/pkg/R/DataFrame.R')
-rw-r--r--R/pkg/R/DataFrame.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/pkg/R/DataFrame.R b/R/pkg/R/DataFrame.R
index fcf473ac7b..43c46b8474 100644
--- a/R/pkg/R/DataFrame.R
+++ b/R/pkg/R/DataFrame.R
@@ -1749,8 +1749,8 @@ setMethod("arrange",
#' @export
setMethod("orderBy",
signature(x = "SparkDataFrame", col = "characterOrColumn"),
- function(x, col) {
- arrange(x, col)
+ function(x, col, ...) {
+ arrange(x, col, ...)
})
#' Filter