You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by da...@apache.org on 2018/02/26 23:38:22 UTC

hive git commit: HIVE-18794: Repl load "with" clause does not pass config to tasks for non-partition tables (Daniel Dai, reviewed by Thejas Nair)

Repository: hive
Updated Branches:
  refs/heads/master 99b2f3c7b -> 212939b1f


HIVE-18794: Repl load "with" clause does not pass config to tasks for non-partition tables (Daniel Dai, reviewed by Thejas Nair)


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

Branch: refs/heads/master
Commit: 212939b1f3b52158bf2b77dddbe74d1af5dafeef
Parents: 99b2f3c
Author: Daniel Dai <da...@hortonworks.com>
Authored: Mon Feb 26 15:38:04 2018 -0800
Committer: Daniel Dai <da...@hortonworks.com>
Committed: Mon Feb 26 15:38:04 2018 -0800

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


http://git-wip-us.apache.org/repos/asf/hive/blob/212939b1/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
index 67d05e6..1c6b793 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java
@@ -527,7 +527,7 @@ public class ImportSemanticAnalyzer extends BaseSemanticAnalyzer {
       loadTableWork.setStmtId(stmtId);
       loadTableWork.setInheritTableSpecs(false);
       Task<?> loadPartTask = TaskFactory.get(new MoveWork(
-          x.getInputs(), x.getOutputs(), loadTableWork, null, false), x.getConf());
+          x.getInputs(), x.getOutputs(), loadTableWork, null, false), x.getConf(), true);
       copyTask.addDependentTask(loadPartTask);
       addPartTask.addDependentTask(loadPartTask);
       x.getTasks().add(copyTask);