pyflink.table.catalog.Catalog.drop_table#
- Catalog.drop_table(table_path: pyflink.table.catalog.ObjectPath, ignore_if_not_exists: bool)[source]#
Drop a table or view.
- Parameters
table_path – Path
ObjectPath
of the table or view to be dropped.ignore_if_not_exists – Flag to specify behavior when the table or view does not exist: if set to false, throw an exception, if set to true, do nothing.
- Raise
CatalogException in case of any runtime exception. TableNotExistException if the table or view does not exist.