You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/09/27 18:18:33 UTC

[jira] [Created] (HIVE-8282) Potential null deference in ConvertJoinMapJoin#convertJoinBucketMapJoin()

Ted Yu created HIVE-8282:
----------------------------

             Summary: Potential null deference in ConvertJoinMapJoin#convertJoinBucketMapJoin()
                 Key: HIVE-8282
                 URL: https://issues.apache.org/jira/browse/HIVE-8282
             Project: Hive
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


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)