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

He Yongqiang commented on HIVE-1538:
------------------------------------

I am not familiar with the ppd code, just a few questions:
In ExprWalkerProcFactory.java line 291,
{noformat}
 } else if (!FunctionRegistry.isOpAnd(expr)) {
{noformat}

why this is needed? For example, what will happen if it is a OpNot?

In OpProcFactory, why there is a createFilter in ScriptPPD, JoinPPD, and 
DefaultPPD?



> FilterOperator is applied twice with ppd on.
> --------------------------------------------
>
>                 Key: HIVE-1538
>                 URL: https://issues.apache.org/jira/browse/HIVE-1538
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 0.7.0
>
>         Attachments: patch-1538.txt
>
>
> 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