mc table view drop
The mc table view drop command drops an Iceberg view from the catalog on an AIStor cluster.
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 drop.
WAREHOUSE
Required
The name of the warehouse containing the view.
Global flags
This command supports any of the global flags.
Examples
Drop a view
Use mc table view drop to remove a view from the catalog:
mc table view drop 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 to drop.
Drop a view with JSON output
Use the --json global flag to output the results in JSON format:
mc table view drop myaistor analytics prod old_view --json