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

时间:2023-11-14 15:34:58

语法格式

create table esSink (
  attr_name attr_type 
  (',' attr_name attr_type)* 
  (','PRIMARY KEY (attr_name, ...) NOT ENFORCED)
)
with (
  'connector' = 'elasticsearch-7',
  'hosts' = '',
  'index' = ''
);
support.huaweicloud.com/sqlreference-dli/dli_08_0395.html