table_name |
The name of the custom external table. |
'col_name' col_type |
The name and data type of the column.
The data types of columns in ApsaraDB for ClickHouse must be mapped to those of columns
in MaxCompute. For more information, see Data type mapping between MaxCompute and ApsaraDB for ClickHouse.
|
ENGINE = MaxCompute |
The MaxCompute storage engine that is used for the external table. |
tunnel-endpoint |
The endpoint of MaxCompute.
Note To ensure a connection between the ApsaraDB for ClickHouse cluster and MaxCompute,
the value of tunnel-endpoint must be a VPC endpoint, and MaxCompute must be deployed in the same region as the
ApsaraDB for ClickHouse cluster. For example, MaxCompute and the ApsaraDB for ClickHouse
cluster are deployed in the China (Shanghai) region. For information about the tunnel
endpoints of MaxCompute, see Endpoints.
|
project-name |
The name of the MaxCompute project which contains the data that you want to import.
Note The project name must be the same as the project name that is used in MaxCompute.
|
table-name |
The name of the MaxCompute table which contains the data that you want to import.
Note The table name must be the same as the table name that is used in MaxCompute.
|
partition-spec |
The MaxCompute partition that you want to access.
You must specify partitions. The expression to specify multiple partitions cannot
contain spaces or single quotation marks ('). Example: sale_date=2020-09-01,region=beijing.
|
access-key-id |
The AccessKey ID of your account that is used to access the data.
Note The account must have read permissions on the MaxCompute project and the MaxCompute
table.
|
access-key-secret |
The AccessKey secret of your account that is used to access the MaxCompute table.
|