Ted Yu created HIVE-9150:
----------------------------

             Summary: Unrelated types are compared in 
GenTezWork#getFollowingWorkIndex()
                 Key: HIVE-9150
                 URL: https://issues.apache.org/jira/browse/HIVE-9150
             Project: Hive
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


Here is the code:
{code}
      if (tezWork.getEdgeProperty(unionWork, 
baseWork).equals(TezEdgeProperty.EdgeType.CONTAINS)) {
{code}
getEdgeProperty() returns TezEdgeProperty which is compared with 
TezEdgeProperty$EdgeType



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to