Catalog#
Functions to register and navigate catalogs and databases used by the DataFrame API, and to read from or write to catalog tables.
Example:
>>> import pyflink.dataframe as pf
>>> pf.create_catalog("my-fluss", {
... "type": "fluss",
... "bootstrap.servers": "localhost:9123",
... "client.security.protocol": "SASL",
... "client.security.sasl.mechanism": "PLAIN",
... "client.security.sasl.username": "*****",
... "client.security.sasl.password": "*****",
... })
>>> df = pf.read_catalog_table("my-fluss.my_database.my_table")
Catalog and Database#
|
Create a catalog in the DataFrame default TableEnvironment. |
|
Set the current catalog for DataFrame operations. |
Get the current catalog used by DataFrame operations. |
|
List catalogs in the DataFrame default TableEnvironment. |
|
|
Set the current database for DataFrame operations. |
Get the current database used by DataFrame operations. |
|
List databases in the current catalog. |
Catalog I/O#
|
Read a catalog table into a DataFrame. |
|
Write the DataFrame to a catalog table. |