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

Amareshwari Sriramadasu commented on HIVE-1538:
-----------------------------------------------

With predicate pushdown on, the final candidates for predicate pushdown are 
collected for the top operator. 
And a FilterOperator is created, with the final candidates, as a child of 
TableScanOperator (topOp). But the operators (FilterOperators) whose predicates 
are pushed down, are not removed.
I think the solution is to collect the operators who are contributing the 
predicates for "final candidates of predicare pushdown" and remove them from 
the final operator graph.
Thoughts?

> FilterOperator is applied twice with ppd on.
> --------------------------------------------
>
>                 Key: HIVE-1538
>                 URL: https://issues.apache.org/jira/browse/HIVE-1538
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>
> With hive.optimize.ppd set to true, FilterOperator is applied twice. And it 
> seems second operator is always filtering zero rows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to