Skip to content

Commit 1a9f24e

Browse files
committed
Remove unnecessary key evaluation.
1 parent fc4d057 commit 1a9f24e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ case class GetItem(child: Expression, ordinal: Expression) extends Expression {
6161
}
6262
} else {
6363
val baseValue = value.asInstanceOf[Map[Any, _]]
64-
val key = ordinal.eval(input)
6564
baseValue.get(key).orNull
6665
}
6766
}

0 commit comments

Comments
 (0)