A Schema (often synonymous with a database) is a second-level metadata object within the three-level namespace of TCLake. This guide explains how to create a Schema via the TCLake console. Alternatively, you can create schemas directly using compute engines such as EMR or DLC connected to TCLake.
Creating a Schema
2. On the Data Catalog list page, click a catalog name to enter its details page.
Note:
Creating schemas for Connection-type catalogs is currently not supported via the console.
3. Click Create Schema, configure the following parameters, and click OK:
|
Name | Required. Must be unique within the same catalog. Cannot start with a number. Maximum length is 64 characters. Allowed characters: letters, digits, and underscores (_). |
Description | Optional. |
Viewing a Schema
In the Schema list, click a schema name to view its basic information (e.g., name, description, creator, owner, creation time, and last metadata update time) as well as the resources it contains.
Deleting a Schema
1. In the Schema list, click Delete in the Actions column.
2. In the confirmation dialog, click OK.
Notes:
1. To prevent accidental data loss, you must manually delete all metadata resources within a schema before deleting the schema itself.
2. A default schema is automatically created within each Lakehouse catalog and cannot be deleted.