@Override
    public Table create(Schema schema, PartitionSpec spec, SortOrder sortOrder,
                        Map<String, String> properties, String tableIdentifier) {
      TableIdentifier tableIdent = TableIdentifier.parse(tableIdentifier);
      return catalog.buildTable(tableIdent, schema)
          .withPartitionSpec(spec)
          .withSortOrder(sortOrder)
          .withProperties(properties)
          .create();
    }
Truncates an Iceberg table.
@param table The iceberg table to truncate
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestTables.java