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

Igor Kryvenko commented on HIVE-20779:
--------------------------------------

[~kgyrtkirk] Hi Zoltan. Now I got 2 instead of expected 1. Is it okay?

> Fix missing results when IN operator has a struct with a null field
> -------------------------------------------------------------------
>
>                 Key: HIVE-20779
>                 URL: https://issues.apache.org/jira/browse/HIVE-20779
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Igor Kryvenko
>            Priority: Major
>
> {code}
> create table ax(s char(1),t char(10));
> insert into ax values ('a','a'),('a','a '),('b','bb');
> select 'expected 1',count(*) from ax where ((s,t) in (('a','a'),(null, 
> 'bb'))) is null;
> -- returns 0 rows
> {code}



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

Reply via email to