Github user wzhfy commented on the issue: https://github.com/apache/spark/pull/15637 @rxin Originally this pr computed endpoints for equi-width (distinct values) or equi-height histograms (percentiles), then @srinathshankar gave a comment [here](https://github.com/apache/spark/pull/15637#pullrequestreview-6319075) and I think it was reasonable, so I adopted it. Now this pr computes distinct values and their counts for building equi-width histograms, and when ndv > threshold, it returns an empty result. I just updated description of the corresponding Jira.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org