mc table view list

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

The following command lists all views in the prod namespace of the analytics warehouse on the myaistor MinIO AIStor cluster:

mc table view list myaistor analytics prod

The command has the following syntax:

mc [GLOBALFLAGS] table view list 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 from which to list views.

NAMESPACE

Required

The name of the namespace from which to list views.

WAREHOUSE

Required

The name of the warehouse containing the namespace.

Global flags

This command supports any of the global flags.

Examples

List all views in a namespace

Use mc table view list to list all views:

mc table view list 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.

List views with JSON output

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

mc table view list myaistor analytics prod --json

On this page