Class FlinkAlterTableUtil

java.lang.Object
org.apache.iceberg.flink.util.FlinkAlterTableUtil

public class FlinkAlterTableUtil extends Object
  • Method Details

    • commitChanges

      public static void commitChanges(Table table, String setLocation, String setSnapshotId, String pickSnapshotId, Map<String,String> setProperties)
    • commitChanges

      public static void commitChanges(Table table, String setLocation, String setSnapshotId, String pickSnapshotId, List<org.apache.flink.table.catalog.TableChange> schemaChanges, List<org.apache.flink.table.catalog.TableChange> propertyChanges)
    • commitManageSnapshots

      public static void commitManageSnapshots(Table table, String setSnapshotId, String cherrypickSnapshotId)
    • applySchemaChanges

      public static void applySchemaChanges(UpdateSchema pendingUpdate, List<org.apache.flink.table.catalog.TableChange> schemaChanges)
      Applies a list of Flink table changes to an UpdateSchema operation.
      Parameters:
      pendingUpdate - an uncommitted UpdateSchema operation to configure
      schemaChanges - a list of Flink table changes
    • applyPropertyChanges

      public static void applyPropertyChanges(UpdateProperties pendingUpdate, List<org.apache.flink.table.catalog.TableChange> propertyChanges)
      Applies a list of Flink table property changes to an UpdateProperties operation.
      Parameters:
      pendingUpdate - an uncommitted UpdateProperty operation to configure
      propertyChanges - a list of Flink table changes