HyukjinKwon commented on a change in pull request #28365:
URL: https://github.com/apache/spark/pull/28365#discussion_r415660279
##########
File path: R/pkg/R/DataFrame.R
##########
@@ -829,8 +829,11 @@ setMethod("repartitionByRange",
jcol <- lapply(cols, function(c) { c@jc })
sdf <- callJMethod(x@sdf, "repartitionByRange",
numToInt(numPartitions), jcol)
} else {
- stop(paste("numPartitions and col must be numeric and Column;
however, got",
- class(numPartitions), "and", class(col)))
+ stop(gettextf(
Review comment:
ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]