This topic describes the basic operations on Format tables in Data Lake Formation.
Introduction
Data management: DLF manages metadata and data files.
Storage system: DLF automatically generates a data storage path based on a UUID, so you do not need to specify one.
Delete behavior: Data retained for 1 day by default, then permanently deleted.
Create a table
Log on to the DLF console.
In the left navigation menu, select Catalogs, and click your catalog name.
In the Database section, click your database name.
Click Create Table.
Configure the table as shown below and click OK.
Configuration Item
Description
Table Format
Select Format Table.
Table Name
Enter a name, which must be unique within the database.
Table Description
Enter a description.
Columns
Define the columns in the table.
User-defined Table Properties
file.format: Specifies the file format. Supported formats areParquet,ORC,CSV, andJSON.You can add custom properties. During table creation, these properties overwrite the default properties. For a list of applicable configuration items, see the Configuration in the Apache Paimon documentation.
SQL examples
A Format table is a Paimon table managed by DLF. DLF automatically generates a storage path based on a UUID and performs table optimization and maintenance in the background. This lets you focus on your business logic.
Flink SQL
CREATE TABLE my_csv_table ( a INT, b STRING ) WITH ( 'type'='format-table', 'file.format'='csv' );Spark SQL
CREATE TABLE my_csv_table ( a INT, b STRING ) USING CSV
Advanced configuration
Support value-only partition paths
By default, partition paths use the
key=valueformat, such as year=2025. If your storage directory contains only the partition value, such astable-path/2025/xxxx.csv, you must explicitly enable this option.Set the parameter:
format-table.partition-path-only-value: true.Set file compression
You can use the
format-table.file.compressionparameter to specify the compression algorithm for output files. If this parameter is not specified, the system uses the following default values:File type
Default
parquet
snappy
avro/orc
zstd
csv/json
none (no compression)
View a table
In the Database section, click your database name.
On the Tables tab, click your table name.
On the Table Details tab, view the table's basic information and columns.
On the Permissions tab, grant table permissions to DLF users or roles. For more information, see Data Authorization Management.
Delete a table
Deleted table data is retained for 1 day to prevent accidental deletion. Data is permanently deleted afterward.
In the Database section, click your database name.
On the Tables tab, click Delete in the Actions column of your target table.
In the dialog box, click OK to confirm deletion.