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

you can replace `Type` with a generic 'T'