[ https://issues.apache.org/jira/browse/HIVE-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668278#comment-13668278 ]
Hudson commented on HIVE-4540: ------------------------------ Integrated in Hive-trunk-h0.21 #2121 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2121/]) HIVE-4540 JOIN-GRP BY-DISTINCT fails with NPE when mapjoin.mapreduce=true (Gunther Hagleitner via Navis) (Revision 1486721) Result = FAILURE navis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1486721 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/CommonJoinTaskDispatcher.java * /hive/trunk/ql/src/test/queries/clientpositive/auto_join33.q * /hive/trunk/ql/src/test/results/clientpositive/auto_join33.q.out * /hive/trunk/ql/src/test/results/clientpositive/multiMapJoin1.q.out > 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 > Fix For: 0.12.0 > > Attachments: HIVE-4540.1.patch > > > 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