Gopal V created HIVE-6654:
-----------------------------

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


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