Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Check condition type in resolved()
  • Loading branch information
JoshRosen committed Jul 24, 2015
commit aec6c7b138d9abde10b908bbb57d96547e07d273
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ case class Join(

// Joins are only resolved if they don't introduce ambiguous expression ids.
override lazy val resolved: Boolean = {
childrenResolved && expressions.forall(_.resolved) && selfJoinResolved
childrenResolved &&
expressions.forall(_.resolved) &&
selfJoinResolved &&
condition.forall(_.dataType == BooleanType)
}
}

Expand Down