facebook/presto — pull request #1104 by chenchun (2014-03-07 06:54:39+00:00)
Title: sql may fail with distinct columns in having statement

presto:default> select rank, count(distinct cityid) from dim.city group by rank having count(distinct cityid) > 30;
Query 20140305_114830_00009_jvyte failed: Multiple entries with same key: count_1=cityid$distinct and count_1=cityid$distinct