Removes predefined columns.
Usage notes
Before you remove a predefined column, make sure that the predefined column is not specified as a column of a secondary index. If the predefined column is specified as a column of a secondary index, you cannot remove the predefined column.
Request syntax
message DeleteDefinedColumnRequest {
required string table_name = 1;
repeated string columns = 2;
}
Parameter | Type | Required | Description |
table_name | string | Yes | The name of the data table. |
columns | repeated string | Yes | The name of the predefined column. |
Response syntax
message DeleteDefinedColumnResponse {
}
Use Tablestore SDKs
You can use the following Tablestore SDKs to remove predefined columns from a data table: