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

Selecting from a view, and another view that also selects from that view fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.11.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      E.g. the following query fails with an NPE

      CREATE VIEW test_view1 AS SELECT * FROM src;

      CREATE VIEW test_view2 AS SELECT * FROM test_view1;

      SELECT COUNT FROM test_view1 a JOIN test_view2 b ON a.key = b.key;

        Attachments

        1. HIVE-4336.3.patch.txt
          3 kB
          Kevin Wilfong
        2. HIVE-4336.2.patch.txt
          3 kB
          Kevin Wilfong
        3. HIVE-4336.1.patch.txt
          4 kB
          Kevin Wilfong

          Activity

            People

            • Assignee:
              kevinwilfong Kevin Wilfong
              Reporter:
              kevinwilfong Kevin Wilfong
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: