Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.catalog.Catalog.rename_table#

Catalog.rename_table(table_path: pyflink.table.catalog.ObjectPath, new_table_name: str, ignore_if_not_exists: bool)[source]#

Rename an existing table or view.

Parameters
  • table_path – Path ObjectPath of the table or view to be renamed.

  • new_table_name – The new name of the table or view.

  • 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 does not exist.

previous

pyflink.table.catalog.Catalog.drop_table

next

pyflink.table.catalog.Catalog.create_table

Show Source

Created using Sphinx 4.5.0.