ncloud_datacatalog_update_table_schema
Replace a table's entire column schema in the Data Catalog with a new column list, correcting wrongly inferred column types. Read current schema first to retain existing columns.
Instructions
⚠️ Replaces the table's ENTIRE column schema with the list given — columns not included are removed. This is the only way to correct a column type a scanner inferred wrongly. Read the current schema first with ncloud_datacatalog_get_table_schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | Full replacement column list, in the desired column order | |
| catalogId | Yes | Catalog ID | |
| tableName | Yes | Table name | |
| databaseName | Yes | Database name |