Skip to content

Commit

Permalink
throw error if there are unexpected join clauses.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Jan 11, 2014
1 parent c5842d2 commit 86355a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/catalyst/frontend/Hive.scala
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ object HiveQl {
case "TOK_LEFTOUTERJOIN" => LeftOuter
case "TOK_FULLOUTERJOIN" => FullOuter
}
assert(other.size <= 1, "Unhandled join clauses.")
Join(nodeToRelation(relation1),
nodeToRelation(relation2),
joinType,
Expand Down

0 comments on commit 86355a6

Please sign in to comment.