mc table namespace remove

The mc table namespace remove command deletes an Iceberg namespace from a warehouse on a MinIO AIStor cluster.

A namespace must be empty before it can be removed. Remove all tables and views in the namespace before deleting it.

The following command removes the prod namespace from the analytics warehouse on the myaistor MinIO AIStor cluster:

mc table namespace remove myaistor analytics prod

The command has the following syntax:

mc [GLOBALFLAGS] table namespace remove ALIAS WAREHOUSE NAMESPACE
  • 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

Required

The alias of a MinIO AIStor cluster.

NAMESPACE

Required

The name of the namespace to delete.

WAREHOUSE

Required

The name of the warehouse containing the namespace.

Global flags

This command supports any of the global flags.

Examples

Delete a namespace

Use mc table namespace remove to delete a namespace:

mc table namespace remove ALIAS WAREHOUSE NAMESPACE
  • Replace ALIAS with the alias of the MinIO AIStor cluster.
  • Replace WAREHOUSE with the name of the warehouse.
  • Replace NAMESPACE with the name of the namespace to delete.

On this page