数据湖探索 DLI-DIS结果表:示例

时间:2024-07-01 21:07:21

示例

将流disSink的数据输出到DIS中。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
create table disSink(
  car_id STRING,
  car_owner STRING,
  car_brand STRING,
  car_speed INT
)
with (
  'connector.type' = 'dis',
  'connector.region' = 'cn-north-1',
  'connector.channel' = 'disOutput',
  'connector.partition-key' = 'car_id,car_owner',
  'format.type' = 'csv'
);
support.huaweicloud.com/sqlreference-dli/dli_08_0310.html