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

时间:2024-11-16 13:21:41

语法格式

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/sqlref-flink-dli/dli_08_0395.html