You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sanghyun Yun (JIRA)" <ji...@apache.org> on 2016/11/21 01:28:59 UTC
[jira] [Assigned] (HIVE-8282) Potential null deference in
ConvertJoinMapJoin#convertJoinBucketMapJoin()
[ https://issues.apache.org/jira/browse/HIVE-8282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanghyun Yun reassigned HIVE-8282:
----------------------------------
Assignee: Sanghyun Yun
> Potential null deference in ConvertJoinMapJoin#convertJoinBucketMapJoin()
> -------------------------------------------------------------------------
>
> Key: HIVE-8282
> URL: https://issues.apache.org/jira/browse/HIVE-8282
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.14.0
> Reporter: Ted Yu
> Assignee: Sanghyun Yun
> Priority: Minor
> Fix For: 2.2.0
>
> Attachments: HIVE-8282.patch
>
>
> In convertJoinMapJoin():
> {code}
> for (Operator<? extends OperatorDesc> parentOp : joinOp.getParentOperators()) {
> if (parentOp instanceof MuxOperator) {
> return null;
> }
> }
> {code}
> NPE would result if convertJoinMapJoin() returns null:
> {code}
> MapJoinOperator mapJoinOp = convertJoinMapJoin(joinOp, context, bigTablePosition);
> MapJoinDesc joinDesc = mapJoinOp.getConf();
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)