Skip to content

Commit

Permalink
Update HiveQl.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
watermen committed Jul 29, 2014
1 parent a7d145e commit 59b7237
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ private[hive] object HiveQl {
// TOK_DESTINATION means to overwrite the table.
val resultDestination =
(intoClause orElse destClause).getOrElse(sys.error("No destination found."))
val overwrite = if (intoClause.isEmpty) true else false
val overwrite = intoClause.isEmpty
nodeToDest(
resultDestination,
withLimit,
Expand Down

0 comments on commit 59b7237

Please sign in to comment.