public static List<FieldSchema> convert(Schema schema) {
    return schema.columns().stream()
        .map(col -> new FieldSchema(col.name(), convertToTypeString(col.type()), col.doc()))
        .collect(Collectors.toList());
  }
Converts the Iceberg schema to a Hive schema (list of FieldSchema objects).
@param schema The original Iceberg schema to convert
@return The Hive column list generated from the Iceberg schema
iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveSchemaUtil.java