详情请看这个链接 http://lxw1234.com/archives/2016/08/714.htm 也可以看官网给的 http://kylin.apache.org/blog/2016/08/01/count-distinct-in-kylin/