Class IcebergAlterTableOps
java.lang.Object
org.apache.beam.sdk.extensions.sql.meta.provider.iceberg.IcebergAlterTableOps
- All Implemented Interfaces:
AlterTableOps
AlterTableOps for Iceberg tables.-
Method Summary
Modifier and TypeMethodDescriptionvoidupdatePartitionSpec(List<String> partitionsToAdd, Collection<String> partitionsToDrop) Updates a table's partition spec, if applicable.voidupdateSchema(List<Schema.Field> columnsToAdd, Collection<String> columnsToDrop) Updates a table's schema.voidUpdates a table's properties.
-
Method Details
-
updateTableProperties
Description copied from interface:AlterTableOpsUpdates a table's properties. Includes setting properties (which overwrites existing values), and/or resetting properties (removes values of given keys).- Specified by:
updateTablePropertiesin interfaceAlterTableOps
-
updateSchema
Description copied from interface:AlterTableOpsUpdates a table's schema. Includes adding new columns and/or dropping existing columns.- Specified by:
updateSchemain interfaceAlterTableOps
-
updatePartitionSpec
Description copied from interface:AlterTableOpsUpdates a table's partition spec, if applicable. Includes adding new partitions and/or dropping existing partitions.- Specified by:
updatePartitionSpecin interfaceAlterTableOps
-