mc table namespace update

The mc table namespace update command updates properties on an Iceberg namespace on a MinIO AIStor cluster.

Properties can be added, updated, or removed.

Parameters

ALIAS

Required

The alias of a MinIO AIStor cluster.

NAMESPACE

Required

The name of the namespace to update.

WAREHOUSE

Required

The name of the warehouse containing the namespace.

--remove

Optional

Remove a property from the namespace by key. You can specify multiple --remove parameters to remove multiple properties.

--set

Optional

Set a property on the namespace in key=value format. You can specify multiple --set parameters to set multiple properties. If a property already exists, this updates its value.

Global flags

This command supports any of the global flags.

Examples

Set properties on a namespace

Use mc table namespace update with the --set flag to add or update properties:

mc table namespace update myaistor analytics prod --set owner=data-team --set env=production

Remove properties from a namespace

Use the --remove flag to remove properties:

mc table namespace update myaistor analytics prod --remove owner --remove env

Set and remove properties in one command

Combine --set and --remove flags in a single command:

mc table namespace update myaistor analytics prod --set owner=new-team --remove old-key