gravitino.api.rel.table_change.UpdateColumnComment

final class gravitino.api.rel.table_change.UpdateColumnComment(_field_name: list[str], _new_comment: str)

Bases: ColumnChange

A TableChange to update the comment of a field.

The field names are used to find the field to update.

If the field does not exist, the change must result in an IllegalArgumentException.

__init__(_field_name: list[str], _new_comment: str) None

Methods

__init__(_field_name, _new_comment)

field_name()

Retrieves the field name of the column to be modified.

get_field_name()

get_new_comment()

field_name() list[str]

Retrieves the field name of the column to be modified.

Returns:
list[str]:

A list of strings representing the field name.