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

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()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.