Laszlo Pinter created HIVE-20350:
------------------------------------

             Summary: Unnecessary value assignment
                 Key: HIVE-20350
                 URL: https://issues.apache.org/jira/browse/HIVE-20350
             Project: Hive
          Issue Type: Improvement
            Reporter: Laszlo Pinter
            Assignee: Laszlo Pinter


There is an unnecessary value assignment in Hive.java 
{code:java}
newPartPath = oldPartPath == null ? newPartPath = genPartPathFromTable(tbl, 
partSpec,
tblDataLocationPath) : oldPartPath;{code}
This can be changed to
{code:java}
newPartPath = oldPartPath == null ? genPartPathFromTable(tbl, partSpec,
tblDataLocationPath) : oldPartPath;{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to