Skip to content

Commit cde73f5

Browse files
committed
update to use AutoCastInputTypes
1 parent 11945c7 commit cde73f5

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
@@ -359,7 +359,7 @@ case class Pow(left: Expression, right: Expression)
359359
* Resulting characters are returned as a byte array.
360360
*/
361361
case class UnHex(child: Expression)
362-
extends UnaryExpression with ExpectsInputTypes with Serializable {
362+
extends UnaryExpression with AutoCastInputTypes with Serializable {
363363

364364
override def expectedChildTypes: Seq[DataType] = Seq(StringType)
365365

0 commit comments

Comments
 (0)