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 39ab87b commit 16ef4d1Copy full SHA for 16ef4d1
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