diff options
Diffstat (limited to 'R/pkg')
-rw-r--r-- | R/pkg/R/functions.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/R/functions.R b/R/pkg/R/functions.R index d7fd279279..0b28087029 100644 --- a/R/pkg/R/functions.R +++ b/R/pkg/R/functions.R @@ -1339,7 +1339,7 @@ setMethod("pmod", signature(y = "Column"), #' @export setMethod("approxCountDistinct", signature(x = "Column"), - function(x, rsd = 0.95) { + function(x, rsd = 0.05) { jc <- callJStatic("org.apache.spark.sql.functions", "approxCountDistinct", x@jc, rsd) column(jc) }) |