Skip to content

Commit 66e33fc

Browse files
baishuoliancheng
authored andcommitted
do a little modify
1 parent 88d0110 commit 66e33fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/SparkHadoopWriter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ private[hive] class SparkHiveHadoopWriter(
117117
conf.value.getOutputValueClass.asInstanceOf[Class[Writable]],
118118
fileSinkConf,
119119
path,
120-
null)
120+
Reporter.NULL)
121121
}
122122

123123
def write(value: Writable) {

sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ case class InsertIntoHiveTable(
342342
val inheritTableSpecs = true
343343
// TODO: Correctly set isSkewedStoreAsSubdir.
344344
val isSkewedStoreAsSubdir = false
345-
if (dynamicPartNum>0) {
345+
if (dynamicPartNum > 0) {
346346
db.loadDynamicPartitions(
347347
outputPath,
348348
qualifiedTableName,

0 commit comments

Comments
 (0)