MaxGekk commented on a change in pull request #34169:
URL: https://github.com/apache/spark/pull/34169#discussion_r721945581
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala
##########
@@ -160,11 +162,15 @@ case class Abs(child: Expression, failOnError: Boolean =
SQLConf.get.ansiEnabled
def this(child: Expression) = this(child, SQLConf.get.ansiEnabled)
- override def inputTypes: Seq[AbstractDataType] = Seq(NumericType)
+ override def inputTypes: Seq[AbstractDataType] =
Seq(TypeCollection.NumericAndInterval)
Review comment:
@cloud-fan Thanks for the comment. Here is the fix
https://github.com/apache/spark/pull/34183
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]