提交 16ef4d11 编写于 作者: Y Yadong Qi 提交者: Reynold Xin

Excess judgment

Author: Yadong Qi <qiyadong2010@gmail.com>

Closes #1629 from watermen/bug-fix2 and squashes the following commits:

59b7237 [Yadong Qi] Update HiveQl.scala
上级 39ab87b9
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册