You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Laszlo Pinter (JIRA)" <ji...@apache.org> on 2018/08/09 15:20:00 UTC
[jira] [Commented] (HIVE-20350) Unnecessary value assignment
[ https://issues.apache.org/jira/browse/HIVE-20350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574993#comment-16574993 ]
Laszlo Pinter commented on HIVE-20350:
--------------------------------------
[~sershe] could you please review?
> 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.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)