Skip to content

Commit 59b7237

Browse files
committed
Update HiveQl.scala
1 parent a7d145e commit 59b7237

File tree

1 file changed

+1
-1
lines changed
  • sql/hive/src/main/scala/org/apache/spark/sql/hive

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ private[hive] object HiveQl {
610610
// TOK_DESTINATION means to overwrite the table.
611611
val resultDestination =
612612
(intoClause orElse destClause).getOrElse(sys.error("No destination found."))
613-
val overwrite = if (intoClause.isEmpty) true else false
613+
val overwrite = intoClause.isEmpty
614614
nodeToDest(
615615
resultDestination,
616616
withLimit,

0 commit comments

Comments
 (0)