mc table warehouse list
The mc table warehouse list command lists all Iceberg warehouses on a MinIO AIStor cluster.
The following command lists all warehouses on the myaistor MinIO AIStor cluster:
mc table warehouse list myaistorThe command has the following syntax:
mc [GLOBALFLAGS] table warehouse list ALIAS- 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 warehouses.
Global flags
This command supports any of the global flags.
Examples
List all warehouses
Use mc table warehouse list to list all warehouses:
mc table warehouse list ALIAS- Replace
ALIASwith the alias of the MinIO AIStor cluster.
List warehouses with JSON output
Use the --json global flag to output the results in JSON format:
mc table warehouse list myaistor --json