Skip to content

Commit

Permalink
space
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Jul 15, 2015
1 parent d55c9e5 commit 438ea07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ object HiveTypeCoercion {
case e if !e.childrenResolved => e

// For binary operators whose input types are NullType, cast them to some specific type.
case b@BinaryOperator(left, right)
case b @ BinaryOperator(left, right)
if left.dataType == NullType && right.dataType == NullType &&
!b.inputType.acceptsType(NullType) =>
// If both inputs are null type (from null literals), cast the null type into some
Expand Down

0 comments on commit 438ea07

Please sign in to comment.