Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6654

SimpleFetchOptimizer ignores views

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.0
    • None
    • Query Processor
    • None

    Description

      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.

      Attachments

        1. HIVE-6654-test.tgz
          2 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: