Parallelize DISTINCT.