presto-hive/src/main/java/io/prestosql/plugin/hive/util/HiveBucketing.java/HiveBucketing/containsTimestampBucketedV2
class HiveBucketing:    private static boolean containsTimestampBucketedV2(TypeInfo type)
    {
        switch (type.getCategory()) {
            case PRIMITIVE:
                return ((PrimitiveTypeInfo) type).getPrimitiveCategory() == TIMESTAMP;
            case LIST:
                return containsTimestampBucketedV2(((ListTypeInfo) type).getListElementTypeInfo());
            case MAP:
                MapTypeInfo mapTypeInfo = (MapTypeInfo) type;
                // Note: we do not check map value type because HiveBucketingV2#hashOfMap hashes map values with v1
                return containsTimestampBucketedV2(mapTypeInfo.getMapKeyTypeInfo());
            default:
                // TODO: support more types, e.g. ROW
                throw new UnsupportedOperationException("Computation of Hive bucket hashCode is not supported for Hive category: " + type.getCategory());
        }
    }