You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "zhaowang (Jira)" <ji...@apache.org> on 2023/09/03 10:13:00 UTC

[jira] [Created] (CALCITE-5974) fix bug when es index mapping set dynamic_templates without properties

zhaowang created CALCITE-5974:
---------------------------------

             Summary: fix bug when es index mapping set dynamic_templates without properties
                 Key: CALCITE-5974
                 URL: https://issues.apache.org/jira/browse/CALCITE-5974
             Project: Calcite
          Issue Type: Bug
    Affects Versions: 1.35.0
            Reporter: zhaowang


when use es-adapter, A index set dynamic_templates bug no mappings causing exceptions:

java.lang.ClassCastException: com.fasterxml.jackson.databind.node.ArrayNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
at org.apache.calcite.adapter.elasticsearch.ElasticsearchJson.visitMappingProperties(ElasticsearchJson.java:133)

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)