You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Pengfei Duan (JIRA)" <ji...@apache.org> on 2019/07/10 06:36:00 UTC

[jira] [Created] (CALCITE-3190) ElasticsearchJson throws Exception when visitMappingProperties

Pengfei Duan created CALCITE-3190:
-------------------------------------

             Summary: ElasticsearchJson throws Exception when visitMappingProperties 
                 Key: CALCITE-3190
                 URL: https://issues.apache.org/jira/browse/CALCITE-3190
             Project: Calcite
          Issue Type: Improvement
          Components: elasticsearch-adapter
    Affects Versions: 1.20.0
            Reporter: Pengfei Duan
             Fix For: next


ElasticsearchJson throws Exception when visitMappingProperties 

java.lang.ClassCastException: com.fasterxml.jackson.databind.node.BooleanNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode

The mapping json likes below:

{"mappings":\{"default":{"properties":{"city":{"type":"keyword"},"state":\{"type":"text"},"pop":\{"type":"long"}}},"type1":\{"_source":{"enabled":false}}}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)