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
- CloudTable
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 a Data Connection.
Procedure
- Perform the following steps:
- In the navigation tree of the DLF console, choose / .
- In the menu on the left, click , right-click tables, and choose Create Data Table from the shortcut menu.
- On the displayed page, 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
Parameter 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
Parameter 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. 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. |
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 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. 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. |
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 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 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. |
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. Must be unique. |
Column Family Description |
No |
Descriptive information about the column family. |
Operation |
No |
To add a column, click . |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot