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

Siddharth Seth updated HIVE-10106:
----------------------------------
    Attachment: HIVE-10106.1.patch

I believe this is caused by the way mapWork is setup. It's now created in the 
constructor of HiveSplitGenerator. The constructor and the initialize method 
may not be invoked in the same thread. As a result, the initialize method ends 
up seing a different copy of mapWork from the one modified in the pruner.
Attaching a patch to fix this - by setting the mapWork in the initialize method.
[~hagleitn] - please review, and validate the theory.
[~mmokhtar] - I wasn't able to reproduce this. Seing pruning work as it should 
for the simple query that you'd sent me offline. May need help reproducing the 
issue and validating the patch. Thanks

> Regression : Dynamic partition pruning not working after HIVE-9976
> ------------------------------------------------------------------
>
>                 Key: HIVE-10106
>                 URL: https://issues.apache.org/jira/browse/HIVE-10106
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 1.2.0
>            Reporter: Mostafa Mokhtar
>            Assignee: Siddharth Seth
>             Fix For: 1.2.0
>
>         Attachments: HIVE-10106.1.patch
>
>
> After HIVE-9976 got checked in dynamic partition pruning doesn't work.
> Partitions are pruned and later show up in splits.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to