You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2022/05/20 12:46:00 UTC
[jira] [Resolved] (HIVE-26250) Fix GenericUDFIn for Binary type
[ https://issues.apache.org/jira/browse/HIVE-26250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Vary resolved HIVE-26250.
-------------------------------
Resolution: Duplicate
Found another jira
> Fix GenericUDFIn for Binary type
> --------------------------------
>
> Key: HIVE-26250
> URL: https://issues.apache.org/jira/browse/HIVE-26250
> Project: Hive
> Issue Type: Bug
> Reporter: Peter Vary
> Priority: Major
>
> When we use IN, or the query optimizer converts our OR statements to IN then we get empty results.
> One example is:
> {code}
> create table test_binary(datet timestamp, dip binary);
> insert into test_binary values ('2022-04-20 00:00:00.0', 'a'),('2022-04-20 00:00:00.0', 'b'), ('2022-04-20 00:00:00.0', 'c') ;
> select * from test_binary where dip = unhex('61') or dip = unhex('62') ; --empty result
> select * from test_binary where dip = unhex('61'); -- correct result
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)