Doris 1.2.8 版本, es中指定了 _routing 属性,使用es catalog 查询报错

Viewed 47
  • Doris 版本: 1.2.8
  • es的mapping中指定如下属性
      "_routing" : {
        "required" : true
      },
  • 使用es catalog 查询时会报错:
Err:java.sql.SQLException: errCode = 2, detailMessage = Unexpected exception: org.apache.doris.external.elasticsearch.DorisEsException: index[user_0] type[null] mapping not found for the ES Cluster
1 Answers

这块是 mapping 解析出问题了,2.1.7 正式版本上会解