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

Navis commented on HIVE-6654:
-----------------------------

Views are regarded as sub-queries and current simple fetch optimizer does not 
accept those, which seemed to be harsh. I'll take look at this later.

> SimpleFetchOptimizer ignores views
> ----------------------------------
>
>                 Key: HIVE-6654
>                 URL: https://issues.apache.org/jira/browse/HIVE-6654
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Gopal V
>         Attachments: HIVE-6654-test.tgz
>
>
> SimpleFetchOptimizer optimizes "select * from session_orc limit 1;"
> But when an alias view is created like "create view session as select * from 
> session_orc";
> The simple fetch optimizer fails to kick in and optimize away "select * from 
> session limit 1;" as a fetch only task.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to