private List<SchemaChange> collectSchemaChanges(Schema currentSchema, Table table) {
        Schema tableSchema = table.schema();
        List<SchemaChange> changes = new ArrayList<>();

        for (Types.NestedField currentField : currentSchema.columns()) {
            collectFieldChanges(currentField, null, tableSchema, changes);
        }
        return changes;
    }
Apply schema changes to the table

@param changes list of schema changes
core/src/main/java/kafka/automq/table/worker/IcebergTableManager.java