mc table namespace list

The mc table namespace list command lists all Iceberg namespaces in a warehouse on a MinIO AIStor cluster.

The following command lists all namespaces in the analytics warehouse on the myaistor MinIO AIStor cluster:

mc table namespace list myaistor analytics

The command has the following syntax:

mc [GLOBALFLAGS] table namespace list ALIAS WAREHOUSE
  • 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 from which to list namespaces.

WAREHOUSE

Required

The name of the warehouse from which to list namespaces.

Global flags

This command supports any of the global flags.

Examples

List all namespaces in a warehouse

Use mc table namespace list to list all namespaces:

mc table namespace list ALIAS WAREHOUSE
  • Replace ALIAS with the alias of the MinIO AIStor cluster.
  • Replace WAREHOUSE with the name of the warehouse.

List namespaces with JSON output

Use the --json global flag to output the results in JSON format:

mc table namespace list myaistor analytics --json

On this page