Github user xuanyuanking commented on a diff in the pull request: https://github.com/apache/spark/pull/22017#discussion_r208257687 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeExtractors.scala --- @@ -267,22 +267,23 @@ case class GetArrayItem(child: Expression, ordinal: Expression) } } -/** - * Common base class for [[GetMapValue]] and [[ElementAt]]. - */ - -abstract class GetMapValueUtil extends BinaryExpression with ImplicitCastInputTypes { +object GetMapValueUtil +{ --- End diff -- nit: brace should in previous line.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org