Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataFrame
    • DataFrame
    • DataFrame Creation
    • Input/Output
    • SQL
    • Data Types
    • User Defined Functions
    • Configuration
    • Catalog
    • GPU Support
    • AI / LLM
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

pyflink.dataframe.get_current_database#

get_current_database() → str[source]#

Get the current database used by DataFrame operations.

Returns

The current database name.

Example:

>>> import pyflink.dataframe as pf
>>> pf.get_current_database()
'default_database'

previous

pyflink.dataframe.use_database

next

pyflink.dataframe.list_databases

Show Source

Created using Sphinx 4.5.0.