Squashed changes to UniqueValueCountAppender and added tests
Fixed exceptions
MLHR-1254: more tests for ditributed distinct
tests for distributed distinct
merged upstream