mc table view show
The mc table view show command displays metadata for an Iceberg view on an AIStor cluster.
The output includes the view schema, SQL definition, and properties.
Parameters
ALIAS
Required
The alias of an AIStor cluster.
NAMESPACE
Required
The name of the namespace containing the view.
VIEW
Required
The name of the view to display metadata for.
WAREHOUSE
Required
The name of the warehouse containing the view.
Global flags
This command supports any of the global flags.
Examples
Show view metadata
Use mc table view show to display view metadata:
mc table view show ALIAS WAREHOUSE NAMESPACE VIEW
- Replace
ALIASwith the alias of the AIStor cluster. - Replace
WAREHOUSEwith the name of the warehouse. - Replace
NAMESPACEwith the name of the namespace. - Replace
VIEWwith the name of the view.
Show view metadata with JSON output
Use the --json global flag to output the results in JSON format:
mc table view show myaistor analytics prod monthly_sales --json