[ 
https://issues.apache.org/jira/browse/HIVE-20350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Pinter updated HIVE-20350:
---------------------------------
    Attachment: HIVE-20350.01.patch

> 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
>            Priority: Minor
>         Attachments: HIVE-20350.01.patch, HIVE-20350.patch
>
>
> 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