public static Schema convert(List<String> names, List<TypeInfo> types, List<String> comments, boolean autoConvert) {
    return HiveSchemaConverter.convert(names, types, comments, autoConvert);
  }
Converts the Hive list of column names and column types to an Iceberg schema.
@param names The list of the Hive column names
@param types The list of the Hive column types
@param comments The list of the Hive column comments, can be null
@param autoConvert If <code>true</code> then TINYINT and SMALLINT is converted to INTEGER and VARCHAR and CHAR is
                   converted to STRING. Otherwise if these types are used in the Hive schema then exception is
                   thrown.
@return The Iceberg schema
iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveSchemaUtil.java