You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2013/05/10 20:35:16 UTC

[jira] [Created] (HIVE-4540) JOIN-GRP BY-DISTINCT fails with NPE when mapjoin.mapreduce=true

Gunther Hagleitner created HIVE-4540:
----------------------------------------

             Summary: JOIN-GRP BY-DISTINCT fails with NPE when mapjoin.mapreduce=true
                 Key: HIVE-4540
                 URL: https://issues.apache.org/jira/browse/HIVE-4540
             Project: Hive
          Issue Type: Bug
            Reporter: Gunther Hagleitner
            Assignee: Gunther Hagleitner


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

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

The planer will NPE in the metadataonly optimizer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira