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

时间:2023-11-01 16:24:58

语法格式

create table esSink (  attr_name attr_type   (',' attr_name attr_type)*   (','PRIMARY KEY (attr_name, ...) NOT ENFORCED))with (  'connector.type' = 'elasticsearch',  'connector.version' = '7',  'connector.hosts' = 'http://xxxx:9200',  'connector.index' = '',  'connector.document-type' = '',  'update-mode' = '',  'format.type' = 'json');
support.huaweicloud.com/sqlreference-dli/dli_08_0316.html