We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55c9e5 commit 438ea07Copy full SHA for 438ea07
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/HiveTypeCoercion.scala
@@ -167,7 +167,7 @@ object HiveTypeCoercion {
167
case e if !e.childrenResolved => e
168
169
// For binary operators whose input types are NullType, cast them to some specific type.
170
- case b@BinaryOperator(left, right)
+ case b @ BinaryOperator(left, right)
171
if left.dataType == NullType && right.dataType == NullType &&
172
!b.inputType.acceptsType(NullType) =>
173
// If both inputs are null type (from null literals), cast the null type into some
0 commit comments