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.alter_database#

Catalog.alter_database(name: str, new_database: CatalogDatabase, ignore_if_not_exists: bool)[source]#

Modify an existing database.

Parameters
  • name – Name of the database to be modified.

  • new_database – The new database CatalogDatabase definition.

  • ignore_if_not_exists – Flag to specify behavior when the given database does not exist: if set to false, throw an exception, if set to true, do nothing.

Raise

CatalogException in case of any runtime exception. DatabaseNotExistException if the given database does not exist.

previous

pyflink.table.catalog.Catalog.drop_database

next

pyflink.table.catalog.Catalog.list_tables

On this page
  • Catalog.alter_database()
Show Source

Created using Sphinx 5.3.0.