hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-533) predicate clauses with rand() should not be pushed down
Date Wed, 03 Jun 2009 20:54:07 GMT

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

Namit Jain commented on HIVE-533:
---------------------------------

+1

looks good - will merge if the tests pass

> predicate clauses with rand() should not be pushed down
> -------------------------------------------------------
>
>                 Key: HIVE-533
>                 URL: https://issues.apache.org/jira/browse/HIVE-533
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>             Fix For: 0.4.0
>
>         Attachments: hive-533.patch
>
>
> in the following query, all predicates except the rand() is pushed down where in rand()
is applied after filter which should not be the case.
> select a.* from srcpart a where rand(1) < 0.1 and a.ds = '2008-04-08' and not(key
> 50 or key < 10) and a.hr like '%2';

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