Hi devs, I have updated DRILL-6992 (histogram support) [1] with a design proposal. Please take a look and provide feedback either in the JIRA or in the doc (make sure to use your email login such that the comments don't show as anonymous).
[1] https://issues.apache.org/jira/browse/DRILL-6992 Thanks, Aman