You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2012/07/25 19:01:35 UTC

[jira] [Commented] (HIVE-2101) mapjoin sometimes gives wrong results if there is a filter in the on condition

    [ https://issues.apache.org/jira/browse/HIVE-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422411#comment-13422411 ] 

Namit Jain commented on HIVE-2101:
----------------------------------

This is different from the bug above.

The basic problem is that the filters from the join condition are not executed for map-joins.
                
> mapjoin sometimes gives wrong results if there is a filter in the on condition
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-2101
>                 URL: https://issues.apache.org/jira/browse/HIVE-2101
>             Project: Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>
> "SELECT / * + mapjoin(src1, src2) * / * FROM src src1 RIGHT OUTER JOIN src src2 ON (src1.key = src2.key AND src1.key < 10 AND src2.key > 10) JOIN src src3 ON (src2.key = src3.key AND src3.key < 10) SORT BY src1.key, src1.value, src2.key, src2.value, src3.key, src3.value;" will give wrong results in today's hive

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira