[
https://issues.apache.org/jira/browse/HIVE-6654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gopal V updated HIVE-6654:
--------------------------
Attachment: HIVE-6654-test.tgz
Simple test case for reproducing the issue.
The queries on the table runs in 0.8 seconds, while the map task takes 1.4
seconds even on a 50kb input.
> 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)