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

JOIN-GRP BY-DISTINCT fails with NPE when mapjoin.mapreduce=true

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      If the mapjoin.mapreduce optimization kicks in on a query of this form:

      select count(distinct a.v) 
      from a join b on (a.k = b.k)
      group by a.g
      

      The planer will NPE in the metadataonly optimizer.

        Attachments

        1. HIVE-4540.1.patch
          10 kB
          Gunther Hagleitner

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: