Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/11325#discussion_r53824889
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/stat/StatFunctions.scala
---
@@ -138,17 +115,23 @@ private[sql] object StatFunctions extends Logging {
*/
class QuantileSummaries(
val compressThreshold: Int,
- val epsilon: Double,
+ val relativeError: Double,
val sampled: ArrayBuffer[Stats] = ArrayBuffer.empty,
private[stat] var count: Long = 0L,
val headSampled: ArrayBuffer[Double] = ArrayBuffer.empty) extends
Serializable {
import QuantileSummaries._
+ /**
+ * Returns a summary with the given observation inserted into the
summary. This method may either modify in place
--- End diff --
Please follow Spark code style guide.
---
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]