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.create_table

pyflink.table.catalog.Catalog.create_table#

Catalog.create_table(table_path: ObjectPath, table: CatalogBaseTable, ignore_if_exists: bool)[source]#

Create a new table or view.

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

  • table – The table definition CatalogBaseTable.

  • ignore_if_exists – Flag to specify behavior when a table or view already exists at the given path: if set to false, it throws a TableAlreadyExistException, if set to true, do nothing.

Raise:

CatalogException in case of any runtime exception. DatabaseNotExistException if the database in tablePath doesn’t exist. TableAlreadyExistException if table already exists and ignoreIfExists is false.

previous

pyflink.table.catalog.Catalog.rename_table

next

pyflink.table.catalog.Catalog.alter_table

On this page
  • Catalog.create_table()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.