Precompute and store the hash for operators that use GroupByHash or have hash partitioned output

These two methods should have arguments in the same order