You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Caican Cai (Jira)" <ji...@apache.org> on 2024/01/31 02:17:00 UTC
[jira] [Commented] (CALCITE-6235) The MAP_CONTAINS_KEY function result does not necessarily correspond to the Spark result
[ https://issues.apache.org/jira/browse/CALCITE-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812524#comment-17812524 ]
Caican Cai commented on CALCITE-6235:
-------------------------------------
ok, thank you
> The MAP_CONTAINS_KEY function result does not necessarily correspond to the Spark result
> ----------------------------------------------------------------------------------------
>
> Key: CALCITE-6235
> URL: https://issues.apache.org/jira/browse/CALCITE-6235
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.36.0
> Reporter: Caican Cai
> Priority: Minor
>
> map_contains_key(map(1, 2), cast(1 as double) returns false but spark returns true.
> This may involve some node type conversion bug
> But I personally tend to think that this is a bug of Spark itself. Calcite does not necessarily need to return true.
>
> https://github.com/apache/calcite/pull/3655
--
This message was sent by Atlassian Jira
(v8.20.10#820010)