Github user wzhfy commented on a diff in the pull request: https://github.com/apache/spark/pull/19783#discussion_r153975383 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/FilterEstimation.scala --- @@ -529,6 +575,55 @@ case class FilterEstimation(plan: Filter) extends Logging { Some(percent) } + /** + * Returns the selectivity percentage for a combined op-dataNumber in the column's + * current valid range [min, max] --- End diff -- Returns the selectivity percentage for a binary condition given the column's current value range.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org