Retrieves the automatic maintenance configuration of a specified table, including Iceberg table compaction and snapshot management settings.
Usage notes
-
The response includes all configured maintenance types for the table, their status (enabled or disabled), and detailed parameters.
-
If no maintenance is configured for the table, default values are returned for each maintenance type.
Syntax
ossutil tables-api get-table-maintenance-configuration --table-bucket-arn value --namespace value --name value [flags]
|
Parameter |
Type |
Description |
|
--name |
string |
Required. The table name. |
|
--namespace |
string |
Required. The namespace that contains the table. |
|
--table-bucket-arn |
string |
Required. The ARN of the table bucket. Format: |
-
This command is the CLI equivalent of the GetTableMaintenanceConfiguration API operation.
-
Supported global options: ossutil Global Options.
Examples
Retrieve the maintenance configuration for my_table in my_namespace:
ossutil tables-api get-table-maintenance-configuration --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace --name my_table