@mbasmanova, I think the HashBuild class is pretty confusing. The documentation in code says it's supposed to enable reuse of hash tables for the right side of join nodes, but in practice that's not how it actually works.
Instead of providing the intended benefits, it just adds complexity and slows things down.
We should consider removing it to simplify the code base.