Note
Supported kernel: SparkSQL.
Applicable table types: External Iceberg tables, Native Iceberg tables.
Purpose: Altering field names.
Syntax
ALTER TABLE table_identifierRENAME COLUMN old_column_name TO new_column_name
Category
table_identifier: Name of the data table.old_column_name: The field name that needs to be changed.New Column Name: The field name after alteration.Sample
alter table iceberg_rename rename column id to id_2