[ 
https://issues.apache.org/jira/browse/HIVE-20617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649765#comment-16649765
 ] 

Zoltan Haindrich commented on HIVE-20617:
-----------------------------------------

opened rb; patch#1 on reviewboard is #7 here
https://reviews.apache.org/r/69019/


> 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, 
> HIVE-20617.03.patch, HIVE-20617.05.patch, HIVE-20617.06.patch, 
> HIVE-20617.07.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)

Reply via email to