presto-hive/src/main/java/io/prestosql/plugin/hive/HiveType.java/HiveType/toHiveType
class HiveType:    public static HiveType toHiveType(TypeInfo typeInfo)
    {
        requireNonNull(typeInfo, "typeInfo is null");
        return new HiveType(typeInfo);
    }