Skip to content

Commit

Permalink
a comment to trigger retest
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-wang committed Sep 4, 2014
1 parent d7315b3 commit 83b536c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ case class CaseWhen(branches: Seq[Expression]) extends Expression {
false
} else {
val allCondBooleans = predicates.forall(_.dataType == BooleanType)
// both then and else val should be considered.
val dataTypesEqual = (values ++ elseValue).map(_.dataType).distinct.size <= 1
allCondBooleans && dataTypesEqual
}
Expand Down

0 comments on commit 83b536c

Please sign in to comment.