You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Laszlo Pinter (JIRA)" <ji...@apache.org> on 2018/08/09 14:25:00 UTC
[jira] [Created] (HIVE-20350) Unnecessary value assignment
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)