Skip to main content
Experimental feature Advice on use of experimental features A Fluss catalog is an external catalog that enables you to query Apache Fluss tables without loading data into the database.

Usage notes

In the current version, Fluss catalogs support querying only Fluss tables that have DataLake enabled and use Apache Paimon as the lake storage.

Create a Fluss catalog

Syntax

Parameters

catalog_name

The name of the Fluss catalog. The naming conventions are as follows:
  • The name can contain letters, digits (0-9), and underscores (_). It must start with a letter.
  • The name is case-sensitive and cannot exceed 1023 characters in length.

comment

The description of the Fluss catalog. This parameter is optional.

PROPERTIES

Example

The following example creates a Fluss catalog that uses Paimon filesystem metastore and S3 storage:

View Fluss catalogs

You can use SHOW CATALOGS to query all catalogs in the current cluster:
You can also use SHOW CREATE CATALOG to query the creation statement of an external catalog:

Drop a Fluss catalog

You can use DROP CATALOG to drop an external catalog:

View the schema of a Fluss table

You can use one of the following syntaxes to view the schema of a Fluss table:
  • View schema
  • View schema and location from the CREATE statement

Query a Fluss table

  1. Use SHOW DATABASES to view the databases in Fluss:
  2. Use SET CATALOG to switch to the Fluss catalog in the current session:
    Then, use USE to specify the active database:
    Or, directly specify the active database in the Fluss catalog:
  3. Use SELECT to query a Fluss table: