hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "He Yongqiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1538) FilterOperator is applied twice with ppd on.
Date Wed, 01 Dec 2010 00:43:18 GMT

    [ 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.


Mime
View raw message