hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amareshw...@apache.org
Subject hive git commit: HIVE-11278 : Fix Partition.setOutputFormatClass to set class name properly (Rajat Khandelwal, reviewed by Amareshwari)
Date Tue, 11 Aug 2015 11:58:54 GMT
Repository: hive
Updated Branches:
  refs/heads/master 70631bb4c -> 7e5368531


HIVE-11278 : Fix Partition.setOutputFormatClass to set class name properly (Rajat Khandelwal,
reviewed by Amareshwari)


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

Branch: refs/heads/master
Commit: 7e53685310fa22abd12307e141511184fa6ede3a
Parents: 70631bb
Author: Rajat Khandelwal <prongs@apache.org>
Authored: Tue Aug 11 17:28:07 2015 +0530
Committer: Amareshwari Sriramadasu <amareshwari@apache.org>
Committed: Tue Aug 11 17:28:07 2015 +0530

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


http://git-wip-us.apache.org/repos/asf/hive/blob/7e536853/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java
index 2e77bc4..9546191 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java
@@ -283,7 +283,7 @@ public class Partition implements Serializable {
   public void setOutputFormatClass(Class<? extends HiveOutputFormat> outputFormatClass)
{
     this.outputFormatClass = outputFormatClass;
     tPartition.getSd().setOutputFormat(HiveFileFormatUtils
-        .getOutputFormatSubstitute(outputFormatClass).toString());
+        .getOutputFormatSubstitute(outputFormatClass).getName());
   }
 
   final public Class<? extends InputFormat> getInputFormatClass()


Mime
View raw message