We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d145e commit 59b7237Copy full SHA for 59b7237
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala
@@ -610,7 +610,7 @@ private[hive] object HiveQl {
610
// TOK_DESTINATION means to overwrite the table.
611
val resultDestination =
612
(intoClause orElse destClause).getOrElse(sys.error("No destination found."))
613
- val overwrite = if (intoClause.isEmpty) true else false
+ val overwrite = intoClause.isEmpty
614
nodeToDest(
615
resultDestination,
616
withLimit,
0 commit comments