MrDLontheway commented on a change in pull request #25646: [SPARK-27336][SQL] 
Incorrect DataSet.summary() result
URL: https://github.com/apache/spark/pull/25646#discussion_r319811793
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/ApproximatePercentile.scala
 ##########
 @@ -51,7 +51,7 @@ import org.apache.spark.sql.types._
   usage = """
     _FUNC_(col, percentage [, accuracy]) - Returns the approximate percentile 
value of numeric
       column `col` at the given percentage. The value of percentage must be 
between 0.0
-      and 1.0. The `accuracy` parameter (default: 10000) is a positive numeric 
literal which
+      and 1.0. The `accuracy` parameter (default: 100000) is a positive 
numeric literal which
 
 Review comment:
   I found that I can change the parameters when I use, but summary() will call 
the default value. Can we configure the default value in the form of spark 
Config? 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to