Skip to content

Commit 73959c1

Browse files
committed
Fix compiler warning
1 parent 8d511ac commit 73959c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ case class TransformExpression(
6969
true
7070
} else {
7171
(function, other.function) match {
72-
case (f: ReducibleFunction[Any, Any] @unchecked,
73-
o: ReducibleFunction[Any, Any] @unchecked) =>
72+
case (f: ReducibleFunction[_, _], o: ReducibleFunction[_, _]) =>
7473
val reducer = f.reducer(o, numBucketsOpt, other.numBucketsOpt)
7574
val otherReducer = o.reducer(f, other.numBucketsOpt, numBucketsOpt)
7675
reducer.isDefined || otherReducer.isDefined

0 commit comments

Comments
 (0)