You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/06/02 20:43:07 UTC

[jira] Created: (HIVE-532) predicate clause with limit should not be pushed down.

predicate clause with limit should not be pushed down.
------------------------------------------------------

                 Key: HIVE-532
                 URL: https://issues.apache.org/jira/browse/HIVE-532
             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


in queries like below , 'v.c2 > 20' shouldn't be pushed up.

select * from (select * from t where t.c > 20 limit 20) v where v.c2 > 20

 

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


[jira] Commented: (HIVE-532) predicate clause with limit should not be pushed down.

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715775#action_12715775 ] 

Namit Jain commented on HIVE-532:
---------------------------------

+1 looks good
will merge if the tests pass

> predicate clause with limit should not be pushed down.
> ------------------------------------------------------
>
>                 Key: HIVE-532
>                 URL: https://issues.apache.org/jira/browse/HIVE-532
>             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-532.patch
>
>
> in queries like below , 'v.c2 > 20' shouldn't be pushed up.
> select * from (select * from t where t.c > 20 limit 20) v where v.c2 > 20
>  

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


[jira] Updated: (HIVE-532) predicate clause with limit should not be pushed down.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-532:
-------------------------------

    Attachment: hive-532.patch

made limit operator similar to that of script operator. predicates are not pushed past beyond a limit or script operator.

> predicate clause with limit should not be pushed down.
> ------------------------------------------------------
>
>                 Key: HIVE-532
>                 URL: https://issues.apache.org/jira/browse/HIVE-532
>             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-532.patch
>
>
> in queries like below , 'v.c2 > 20' shouldn't be pushed up.
> select * from (select * from t where t.c > 20 limit 20) v where v.c2 > 20
>  

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


[jira] Updated: (HIVE-532) predicate clause with limit should not be pushed down.

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka updated HIVE-532:
-------------------------------

    Status: Patch Available  (was: Open)

> predicate clause with limit should not be pushed down.
> ------------------------------------------------------
>
>                 Key: HIVE-532
>                 URL: https://issues.apache.org/jira/browse/HIVE-532
>             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-532.patch
>
>
> in queries like below , 'v.c2 > 20' shouldn't be pushed up.
> select * from (select * from t where t.c > 20 limit 20) v where v.c2 > 20
>  

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


[jira] Updated: (HIVE-532) predicate clause with limit should not be pushed down.

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-532:
----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks Prasad.

> predicate clause with limit should not be pushed down.
> ------------------------------------------------------
>
>                 Key: HIVE-532
>                 URL: https://issues.apache.org/jira/browse/HIVE-532
>             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-532.patch
>
>
> in queries like below , 'v.c2 > 20' shouldn't be pushed up.
> select * from (select * from t where t.c > 20 limit 20) v where v.c2 > 20
>  

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