Hive
  1. Hive
  2. HIVE-6611

Joining multiple union all outputs fails on Tez

    Details

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

      Description

      Queries like:

      with u as (select * from src union all select * from src)
      select * from u join u;

      will fail on Tez because only one union flows into the join reduce phase.

      1. HIVE-6611.1.patch
        52 kB
        Gunther Hagleitner

        Activity

        Hide
        Gunther Hagleitner added a comment -

        .1 also fixes some outdated golden files on tez.

        Show
        Gunther Hagleitner added a comment - .1 also fixes some outdated golden files on tez.
        Hide
        Vikram Dixit K added a comment -

        LGTM +1.

        Show
        Vikram Dixit K added a comment - LGTM +1.
        Hide
        Gunther Hagleitner added a comment -

        Ran unit tests locally: results are good.

        Show
        Gunther Hagleitner added a comment - Ran unit tests locally: results are good.
        Hide
        Gunther Hagleitner added a comment -

        Committed to trunk. Thanks Vikram!

        Show
        Gunther Hagleitner added a comment - Committed to trunk. Thanks Vikram!

          People

          • Assignee:
            Gunther Hagleitner
            Reporter:
            Gunther Hagleitner
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development