You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2010/11/12 01:30:14 UTC

[jira] Commented: (HIVE-1586) prune operators for empty inputs

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

John Sichi commented on HIVE-1586:
----------------------------------

Testing email notifications.

> prune operators for empty inputs
> --------------------------------
>
>                 Key: HIVE-1586
>                 URL: https://issues.apache.org/jira/browse/HIVE-1586
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.6.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>             Fix For: 0.7.0
>
>
> Given this:
> create view v as
> select * from (
> select *,'T1' as m from pokes
> union all
> select *,'T2' as m from pokes2) u;
> select * from v
> where m='T2';
> When we optimize the query, we can prune away all inputs to the union other than the one which references pokes2.

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