presto-hive/src/main/java/io/prestosql/plugin/hive/util/HiveBucketing.java/HiveBucketing/getBucketHashCode
class HiveBucketing:    @VisibleForTesting
    static int getBucketHashCode(BucketingVersion bucketingVersion, List<TypeInfo> types, Page page, int position)
    {
        switch (bucketingVersion) {
            case BUCKETING_V1:
                return HiveBucketingV1.getBucketHashCode(types, page, position);
            case BUCKETING_V2:
                return HiveBucketingV2.getBucketHashCode(types, page, position);
            default:
                throw new IllegalArgumentException("Unsupported bucketing version: " + bucketingVersion);
        }
    }