Creating a Data Table (Visualized Mode)
You can create permanent data tables in visualized mode. After creating a data table, you can use it for job and script development.
The following types of data tables can be created:
- DLI
- DWS
- MRS Hive
Prerequisites
- A corresponding cloud service has been enabled and a database has been created in the cloud service. For example, before creating a DLI table, DLI has been enabled and a database has been created in DLI.
- A data connection that matches the data table type has been created in Data Development. For details, see Creating Data Connections.
Procedure
- In the navigation tree of the data development page, choose or .
- Choose
from the menu on the left and expand the directory level of a data connection to tables under Data Connections. Right-click tables and choose Create Data Table from the shortcut menu. - In the displayed dialog box, configure basic properties. Specific settings vary depending on the data connection type you select. Table 1 lists the links for viewing property parameters of each type of data connection.
Table 1 Basic property parameters Data Connection Type
Description
DLI
For details, see the Basic Property part in Table 3.
DWS
For details, see the Basic Property part in Table 4.
MRS Hive
For details, see the Basic Property part in Table 5.
CloudTable
For details, see the Basic Property part in Table 6.
- Click Next. On the Configure Table Structure page, configure table structure parameters. Table 2 describes the table structure parameters.
Table 2 Table structure Data Connection Type
Description
DLI
For details, see the Table Structure part in Table 3.
DWS
For details, see the Table Structure part in Table 4.
MRS Hive
For details, see the Table Structure part in Table 5.
CloudTable
For details, see the Table Structure part in Table 6.
- Click OK.
Parameter Description
| Parameter | Mandatory | Description |
|---|---|---|
| Basic Property | ||
| Table Name | Yes | Name of the data table. The value must contain 1 to 63 characters, including only lowercase letters, digits, and underscores (_). It cannot contain only digits or start with an underscore. |
| Alias | No | Alias of the data table. Must consist of 1 to 63 characters and contain only letters, digits, and underscores (_). Cannot contain only digits or start with an underscore. |
| Data Connection | Yes | Data connection to which the data table belongs. |
| Database | Yes | Database to which the data table belongs. |
| Data Location | Yes | Location to save data. Possible values:
|
| Data Format | Yes | Format of data. This parameter is available only when Data Location is set to OBS. Possible values:
|
| Path | Yes | OBS path where the data is stored. This parameter is available only when Data Location is set to OBS. |
| Table Description | No | Descriptive information about the data table. |
| Table Structure | ||
| Column Name | Yes | Name of the column. Must be unique. |
| Type | Yes | Type of data. For details about the data types, see Data Types of Data Lake Insight SQL Syntax Reference. |
| Column Description | No | Descriptive information about the column. |
| Operation | No | To add a column, click |
| Parameter | Mandatory | Description |
|---|---|---|
| Basic Property | ||
| Table Name | Yes | Name of the data table. The value must contain 1 to 63 characters, including only letters, digits, and underscores (_). It cannot contain only digits or start with an underscore. |
| Alias | No | Alias of the data table. Must consist of 1 to 63 characters and contain only letters, digits, and underscores (_). Cannot contain only digits or start with an underscore. |
| Data Connection | Yes | Data connection to which the data table belongs. |
| Database | Yes | Database to which the data table belongs. |
| Schema | Yes | Schema of the database. |
| Table Description | No | Descriptive information about the data table. |
| Advanced Settings | No | The following advanced options are available:
|
| Table Structure | ||
| Column Name | Yes | Name of the column. Must be unique. |
| Data Classification | Yes | Classification of data. Possible values:
|
| Data Type | Yes | Type of data. For details about the data types, see Data Types of Data Warehouse Service Developer Guide. |
| Column Description | No | Descriptive information about the column. |
| Create ES Index | No | If you click the check box, an ES index needs to be created. When creating the ES index, select the created CSS cluster from the CloudSearch Cluster Name drop-down list. For details about how to create a CSS cluster, see Creating a Cluster of Cloud Search Service User Guide. |
| Index Data Type | No | Data type of the ES index. The options are as follows:
|
| Operation | No | To add a column, click |
| Parameter | Mandatory | Description |
|---|---|---|
| Basic Property | ||
| Table Name | Yes | Name of the data table. Must consist of 1 to 63 characters and contain only lowercase letters, digits, and underscores (_). Cannot contain only digits or start with an underscore. |
| Alias | No | Alias of the data table. Must consist of 1 to 63 characters and contain only letters, digits, and underscores (_). Cannot contain only digits or start with an underscore. |
| Data Connection | Yes | Data connection to which the data table belongs. |
| Database | Yes | Database to which the data table belongs. |
| Table Description | No | Descriptive information about the data table. |
| Table Structure | ||
| Column Name | Yes | Name of the column. Must be unique. |
| Data Classification | Yes | Classification of data. Possible values:
|
| Data Type | Yes | Type of data. See LanguageManual DDL. |
| Column Description | No | Descriptive information about the column. |
| Operation | No | To add a column, click |
| Parameter | Mandatory | Description |
|---|---|---|
| Basic Property | ||
| Table Name | Yes | Name of the data table. Must consist of 1 to 63 characters and contain only letters, digits, and underscores (_). Cannot contain only digits or start with an underscore. |
| Alias | No | Alias of the data table. Must consist of 1 to 63 characters and contain only letters, digits, and underscores (_). Cannot contain only digits or start with an underscore. |
| Data Connection | Yes | Data connection to which the data table belongs. |
| Namespace | Yes | Namespace to which the data table belongs. |
| Table Description | No | Descriptive information about the data table. |
| Table Structure | ||
| Column Family Name | Yes | Name of the column family. It must be unique. |
| Column Family Description | No | Descriptive information about the column family. |
| Operation | No | To add a column, click |
Last Article: Deleting a Database Schema
Next Article: Creating a Data Table (DDL Mode)

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.