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

    https://github.com/apache/spark/pull/22921#discussion_r231023768
  
    --- Diff: R/pkg/R/generics.R ---
    @@ -748,7 +748,7 @@ setGeneric("add_months", function(y, x) { 
standardGeneric("add_months") })
     
     #' @rdname column_aggregate_functions
     #' @name NULL
    -setGeneric("approxCountDistinct", function(x, ...) { 
standardGeneric("approxCountDistinct") })
    +setGeneric("approx_count_distinct", function(x, ...) { 
standardGeneric("approx_count_distinct") })
    --- End diff --
    
    I think it's super light weight to have a `approxCountDistinct` that calls 
`approx_count_distinct` with deprecation?
    I thought was that R API was not always sync or complete compare to python, 
and a breaking API change - ie. the job will fail - seems a bit drastic even in 
a major release.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to