CREATE TABLE tableName(
colName colType,
bb INT
)WITH(
type ='elasticsearch',
address ='ip:port[,ip:port]',
cluster='clusterName',
estype ='esType',
index ='index',
id ='num[,num]',
parallelism ='1'
)
ES5
CREATE TABLE MyResult(
aa INT,
bb INT
)WITH(
type ='elasticsearch',
address ='172.16.10.47:9500',
cluster='es_47_menghan',
estype ='type1',
index ='xc_es_test',
id ='0,1',
parallelism ='1'
)
