mc table warehouse tag remove

The mc table warehouse tag remove command removes tags from an Iceberg warehouse.

Specify one or more tag keys to remove. The command warns for any key that does not exist on the warehouse and removes the keys that do.

The following command removes the env and team tags from the mywarehouse warehouse on the myaistor MinIO AIStor cluster:

mc table warehouse tag remove myaistor/mywarehouse env team

The command has the following syntax:

mc [GLOBALFLAGS] table warehouse tag remove     \
                 ALIAS/WAREHOUSE                \
                 KEY [KEY ...]
  • Brackets [] indicate optional parameters.
  • Parameters sharing a line are mutually dependent.
  • Parameters separated using the pipe | operator are mutually exclusive.

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.

Parameters

ALIAS/WAREHOUSE

Required

The path to the warehouse from which to remove tags, where:

  • ALIAS is the alias of a MinIO AIStor cluster.
  • WAREHOUSE is the name of the warehouse.

KEY

Required

One or more tag keys to remove, separated by spaces. The command warns for any key that is not present on the warehouse and removes the keys that are.

Global flags

This command supports any of the global flags.

Examples

Remove tags from a warehouse

mc table warehouse tag remove myaistor/mywarehouse env team

Remove a single tag

mc table warehouse tag remove myaistor/mywarehouse env

On this page