Skip to content

Commit 22d0463

Browse files
committed
Fixed type precedence.
1 parent beb2a97 commit 22d0463

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/math.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ case class ShiftRightUnsigned(left: Expression, right: Expression)
541541
extends BinaryExpression with ExpectsInputTypes {
542542

543543
override def inputTypes: Seq[AbstractDataType] =
544-
Seq(TypeCollection(LongType, IntegerType), IntegerType)
544+
Seq(TypeCollection(IntegerType, LongType), IntegerType)
545545

546546
override def dataType: DataType = left.dataType
547547

0 commit comments

Comments
 (0)