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

Select query with view in subquery adds underlying table as direct input

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1
    • Component/s: None
    • Labels:
      None

      Description

      In the following case,

      create view V as select * from T;
      select * from (select * from V) A;
      

      The semantic analyzer inputs contain input table T as a direct input instead of adding it as an indirect input.

        Attachments

        1. HIVE-10875.1.patch
          1 kB
          Thejas M Nair
        2. HIVE-10875.2.patch
          7 kB
          Thejas M Nair

          Issue Links

            Activity

              People

              • Assignee:
                thejas Thejas M Nair
                Reporter:
                thejas Thejas M Nair
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: