You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2018/10/10 06:35:00 UTC

[jira] [Updated] (HIVE-20617) Fix type of constants in IN expressions to have correct type

     [ https://issues.apache.org/jira/browse/HIVE-20617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltan Haindrich updated HIVE-20617:
------------------------------------
    Attachment: HIVE-20617.02.patch

> Fix type of constants in IN expressions to have correct type
> ------------------------------------------------------------
>
>                 Key: HIVE-20617
>                 URL: https://issues.apache.org/jira/browse/HIVE-20617
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-20617.01.patch, HIVE-20617.02.patch
>
>
> In statements like {{struct(a,b) IN (const struct('x','y'), ... )}} the comparision in UDFIn may fail because if a or b is of char/varchar type the constants will retain string type - especially after PointlookupOptimizer compaction.



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