Skip to content

Commit 7b7e6e3

Browse files
committed
update pattern match
1 parent 7a39456 commit 7b7e6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,6 @@ final class SpecificMutableRow(val values: Array[MutableValue]) extends MutableR
315315
case r: MutableDouble => r.value.asInstanceOf[T]
316316
case r: MutableBoolean => r.value.asInstanceOf[T]
317317
case r: MutableLong => r.value.asInstanceOf[T]
318-
case r => r.asInstanceOf[MutableAny].value.asInstanceOf[T]
318+
case r: MutableAny => r.value.asInstanceOf[T]
319319
}
320320
}

0 commit comments

Comments
 (0)