Skip to content

Commit

Permalink
delete a empty else branch
Browse files Browse the repository at this point in the history
  • Loading branch information
baishuo authored and liancheng committed Oct 1, 2014
1 parent cd822f0 commit b660e74
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ case class InsertIntoHiveTable(
if (dynamicPartNum == 0) {
writer.setup(context.stageId, context.partitionId, attemptNumber)
writer.open()
} else {

}

var count = 0
// writer for Dynamic Partition
var writer2: SparkHiveHadoopWriter = null
Expand Down Expand Up @@ -221,6 +220,7 @@ case class InsertIntoHiveTable(
.map { case (c, v) => s"/$c=${handleNull(v, defaultPartName)}" }
.mkString
}

/*
* if rowVal is null or "",will return HiveConf.get(hive.exec.default.partition.name) with default
* */
Expand Down

0 comments on commit b660e74

Please sign in to comment.