数据湖探索 DLI-Kafka结果表:语法格式

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

语法格式

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
create table kafkaSink(
  attr_name attr_type 
  (',' attr_name attr_type)* 
  (','PRIMARY KEY (attr_name, ...) NOT ENFORCED)
)
with (
  'connector' = 'kafka',
  'topic' = '',
  'properties.bootstrap.servers' = '',
  'format' = ''
);
support.huaweicloud.com/sqlreference-dli/dli_08_0398.html