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

SimpleFetchOptimizer ignores views

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.13.0
    • Fix Version/s: None
    • Component/s: Query Processor
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: