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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: