Github user davies commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12887#discussion_r62147393
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -570,10 +570,17 @@ setMethod("unpersist",
     
     #' Repartition
     #'
    -#' Return a new SparkDataFrame that has exactly numPartitions partitions.
    -#'
    +#' The following options for repartition are possible:
    +#' \itemize{
    +#'  \item{"Option 1"} {Return a new SparkDataFrame partitioned by
    +#'                      the given columns into `numPartitions`.}
    +#'  \item{"Option 2"} {Return a new SparkDataFrame that has exactly 
`numPartitions`.}
    +#'  \item{"Option 3"} {Return a new SparkDataFrame partitioned by the 
given columns,
    +#'                      preserving the existing number of partitions.}
    --- End diff --
    
    If numPartitions  is not specified, the number of partition will be 
spark.sql.shuffle.partitions. Could you double check the doc on Scala and 
Python?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to