You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/08/10 17:40:30 UTC

hive git commit: HIVE-20350 : Unnecessary value assignment (Laszlo Pinter via Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master 4938c9ca1 -> 71b7f36cb


HIVE-20350 : Unnecessary value assignment (Laszlo Pinter via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <ha...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/71b7f36c
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/71b7f36c
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/71b7f36c

Branch: refs/heads/master
Commit: 71b7f36cbbb41b357babb133b1bf7036c48af317
Parents: 4938c9c
Author: Ashutosh Chauhan <ha...@apache.org>
Authored: Fri Aug 10 10:39:49 2018 -0700
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Fri Aug 10 10:39:49 2018 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/71b7f36c/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
index 2a36043..45610e3 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
@@ -1832,7 +1832,7 @@ public class Hive {
         }
       } else {
         newPartPath = oldPartPath == null
-          ? newPartPath = genPartPathFromTable(tbl, partSpec, tblDataLocationPath) : oldPartPath;
+          ? genPartPathFromTable(tbl, partSpec, tblDataLocationPath) : oldPartPath;
       }
       List<Path> newFiles = Collections.synchronizedList(new ArrayList<Path>());