【详述】ES 外部表查询索引长文本字段内容为空
【背景】ES 外部表
建表语句:
DROP TABLE IF EXISTS es_ext_product_comment;
CREATE EXTERNAL TABLE es_ext_product_comment
(
comment_id VARCHAR(1),
goods_id VARCHAR(1),
content VARCHAR(1024),
sku_name VARCHAR(1),
comment_time datetime
)
ENGINE=ELASTICSEARCH
PROPERTIES
(
“hosts” = “*******”,
“user” = “elastic”,
“password” = “********”,
“index” = “goods_comment_v_all”,
“colocate_with” = “goods_group”
);
【业务影响】
【StarRocks版本】2.5.2
【集群规模】1fe+3be(fe与be混部)
【机器信息】8C/64G
【联系方式】421231244@qq.com
【附件】
ES 查询结果
外部表查询结果
SELECT * from es_ext_product_comment eepc WHERE comment_id = 6157695542907378151548374814;