Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19952#discussion_r156383617
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/EstimationUtils.scala
---
@@ -115,14 +115,10 @@ object EstimationUtils {
}
/**
- * Returns the number of the first bin into which a column value falls
for a specified
+ * Returns the index of the first bin into which the given value falls
for a specified
* numeric equi-height histogram.
- *
- * @param value a literal value of a column
- * @param bins an array of bins for a given numeric equi-height histogram
- * @return the id of the first bin into which a column value falls.
--- End diff --
Now it's a private method and we can omit the parameter doc as it's trivial.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]