Some advantages of hash partitioning include:
The ability to calculate the partitioning mapping at runtime with no need to store and maintain the mapping. This is beneficial both in terms of data storage needs and performance, as we don’t need any additional requests to find the mapping
A greater chance that the hash function will uniformly distribute the data across our system’s nodes, and prevent some nodes from overloading