Skip to content

Commit c65fad3

Browse files
committed
bugfix
1 parent a641e30 commit c65fad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public void setInputFormatClass(Class<? extends InputFormat> inputFormatClass) {
285285
public void setOutputFormatClass(Class<? extends HiveOutputFormat> outputFormatClass) {
286286
this.outputFormatClass = outputFormatClass;
287287
tPartition.getSd().setOutputFormat(HiveFileFormatUtils
288-
.getOutputFormatSubstitute(outputFormatClass, false).toString());
288+
.getOutputFormatSubstitute(outputFormatClass, false).getCanonicalName());
289289
}
290290

291291
final public Class<? extends InputFormat> getInputFormatClass()

0 commit comments

Comments
 (0)