Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Catalog
  • pyflink.table.catalog.Catalog.drop_table

pyflink.table.catalog.Catalog.drop_table#

Catalog.drop_table(table_path: 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.

previous

pyflink.table.catalog.Catalog.table_exists

next

pyflink.table.catalog.Catalog.rename_table

On this page
  • Catalog.drop_table()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.