Package org.apache.flink.table.catalog
Class TableChange.DropColumn
- java.lang.Object
-
- org.apache.flink.table.catalog.TableChange.DropColumn
-
- All Implemented Interfaces:
TableChange,TableChange.CatalogTableChange,TableChange.MaterializedTableChange
- Enclosing interface:
- TableChange
@PublicEvolving public static class TableChange.DropColumn extends Object implements TableChange.CatalogTableChange, TableChange.MaterializedTableChange
A table change to drop the column.It is equal to the following statement:
ALTER TABLE <table_name> DROP COLUMN <column_name>Note: A
DropColumnchange may also occur when rolling back the schema during a failedALTER MATERIALIZED TABLE AS QUERYoperation. If the operation fails, columns added to align with the query results may need to be removed to restore the original schema.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.catalog.TableChange
TableChange.AddColumn, TableChange.AddDistribution, TableChange.AddUniqueConstraint, TableChange.AddWatermark, TableChange.After, TableChange.CatalogTableChange, TableChange.ColumnPosition, TableChange.DropColumn, TableChange.DropConstraint, TableChange.DropDistribution, TableChange.DropWatermark, TableChange.First, TableChange.MaterializedTableChange, TableChange.ModifyColumn, TableChange.ModifyColumnComment, TableChange.ModifyColumnName, TableChange.ModifyColumnPosition, TableChange.ModifyDefinitionQuery, TableChange.ModifyDistribution, TableChange.ModifyPhysicalColumnType, TableChange.ModifyRefreshHandler, TableChange.ModifyRefreshStatus, TableChange.ModifyUniqueConstraint, TableChange.ModifyWatermark, TableChange.ResetOption, TableChange.SetOption
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetColumnName()Returns the column name.inthashCode()StringtoString()
-