HyperLogLog approximate distinct counting as a Hive function
github.com