Hi Dhwanit,
this post was to illustrate how - in principle - the hash partitioning works.
The modulo function was simply used as an example.
What hash-function SAP HANA internally uses to distribute the keys to the available partitions is not externally documented and might change.
However, it should not matter at all, since it does not play any role for the actual usage of the HASH partitioning feature.
- Lars