Github user wzhfy commented on the issue:

    https://github.com/apache/spark/pull/15637
  
    For equi-height hsitogram, we need extra info like ndv's in each bin. Does 
count min sketch also have this information? I had a discussion with Herman and 
Tim about histogram construction before, we want to compute all stats including 
histograms in a single table scan. They suggested we modify 
ApproximatePercentile to get equi-height histograms, i.e. endpoints of bins and 
the ndv's within them. And this pr is only for getting equi-width histograms. 
You can check [this JIRA](https://issues.apache.org/jira/browse/SPARK-17074) 
for the discussion.


---
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]

Reply via email to