Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> I think I see what's happening: we're running out of hash bits.
Ugh.
> Besides switching to 64 bit hashes so that we don't run out of
> information (clearly a good idea), what other options do we have?
If the input column is less than 64 bits wide, this is an illusory
solution, because there can't really be that many independent hash bits.
I think we need to have some constraint that keeps us from widening
the batch+bucket counts to more hash bits than we have.
regards, tom lane