DROP Statements

The database, table, and function objects can be removed from catalogs with DROP statements.

Use IF EXISTS statement to avoid errors on non-existing objects.

For more information about DROP statements, see the Apache Flink documentation.

DROP TABLE/DATABASE/FUNCTION

tableEnv.sqlUpdate("DROP TABLE|DATABASE|FUNCTION [IF EXISTS] object_name");