mc table show

The mc table show command displays metadata for an Iceberg table on an AIStor cluster.

The output includes the table schema, properties, and other metadata.

Parameters

ALIAS

Required

The alias of an AIStor cluster.

NAMESPACE

Required

The name of the namespace containing the table.

TABLE

Required

The name of the table to display metadata for.

WAREHOUSE

Required

The name of the warehouse containing the table.

Global flags

This command supports any of the global flags.

Examples

Show table metadata

Use mc table show to display table metadata:

mc table show ALIAS WAREHOUSE NAMESPACE TABLE
  • Replace ALIAS with the alias of the AIStor cluster.
  • Replace WAREHOUSE with the name of the warehouse.
  • Replace NAMESPACE with the name of the namespace.
  • Replace TABLE with the name of the table.

Show table metadata with JSON output

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

mc table show myaistor analytics prod sales_data --json