[
https://issues.apache.org/jira/browse/HIVE-14652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Shelukhin updated HIVE-14652:
------------------------------------
Attachment: HIVE-14652.01.patch
Updated the patch to do the check first, and also to remove the special
handling for the UDF. Do you know why this special handling was needed?
What would be a good query to test the intended effect before and after? I've
run auto_join19_inclause and filter_in_or_dup (tests added with the code), but
they don't exercise the lhs UDF path, as far as I see from the added logging.
> incorrect results for not in on partition columns
> -------------------------------------------------
>
> Key: HIVE-14652
> URL: https://issues.apache.org/jira/browse/HIVE-14652
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.1.0, 2.2.0
> Reporter: stephen sprague
> Assignee: Sergey Shelukhin
> Priority: Blocker
> Attachments: HIVE-14652.01.patch, HIVE-14652.patch
>
>
> {noformat}
> create table foo (i int) partitioned by (s string);
> insert overwrite table foo partition(s='foo') select cint from alltypesorc
> limit 10;
> insert overwrite table foo partition(s='bar') select cint from alltypesorc
> limit 10;
> select * from foo where s not in ('bar');
> {noformat}
> No results. IN ... works correctly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)