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

    https://github.com/apache/spark/pull/14705#discussion_r75427819
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -1719,12 +1732,13 @@ setMethod("[", signature(x = "SparkDataFrame"),
     #' Subset
     #'
     #' Return subsets of SparkDataFrame according to given conditions
    -#' @param x A SparkDataFrame
    -#' @param subset (Optional) A logical expression to filter on rows
    -#' @param select expression for the single Column or a list of columns to 
select from the SparkDataFrame
    +#' @param x a SparkDataFrame.
    +#' @param i,subset (Optional) a logical expression to filter on rows.
    +#' @param j,select expression for the single Column or a list of columns 
to select from the SparkDataFrame.
    --- End diff --
    
    perhaps better to rename `i`->`subset` and `j`->`select`?
    I didn't find a reason for having `i` and `j` 


---
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