You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2015/08/18 00:00:43 UTC
[13/50] [abbrv] hive git commit: HIVE-11278 : Fix
Partition.setOutputFormatClass to set class name properly (Rajat Khandelwal,
reviewed by Amareshwari)
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/hbase-metastore
Commit: 7e53685310fa22abd12307e141511184fa6ede3a
Parents: 70631bb
Author: Rajat Khandelwal <pr...@apache.org>
Authored: Tue Aug 11 17:28:07 2015 +0530
Committer: Amareshwari Sriramadasu <am...@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()