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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 0.11.0
    • Query Processor
    • None
    • 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.1.patch.txt
          4 kB
          Kevin Wilfong
        2. HIVE-4336.2.patch.txt
          3 kB
          Kevin Wilfong
        3. HIVE-4336.3.patch.txt
          3 kB
          Kevin Wilfong

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: