You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Zhen Chen (Jira)" <ji...@apache.org> on 2025/07/22 00:40:00 UTC
[jira] [Commented] (CALCITE-3190) ElasticsearchJson throws Exception when visitMappingProperties
[ https://issues.apache.org/jira/browse/CALCITE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008846#comment-18008846 ]
Zhen Chen commented on CALCITE-3190:
------------------------------------
Fixed in https://github.com/apache/calcite/commit/33b03ddb7e046bf16f26bdbbf1f3be967bfe4450
Thanks for contribution [~xuzifu666]
Thanks for reviews [~mbudiu] [~cancai]
> 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
> Assignee: Yu Xu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.41.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)