luizfna commented on code in PR #40984:
URL: https://github.com/apache/spark/pull/40984#discussion_r1190440175
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ObjectExpressionsSuite.scala:
##########
@@ -459,6 +459,19 @@ class ObjectExpressionsSuite extends SparkFunSuite with
ExpressionEvalHelper {
}
}
+ test("UnresolvedMapObjects should support interpreted execution") {
+ val inputExpr = Literal(1)
+ val func = (expr: Expression) => expr
+ val customCls: Option[Class[_]] = None
+
+ checkError(
+ exception = intercept[SparkUnsupportedOperationException] {
+ UnresolvedMapObjects(func, inputExpr, customCls).dataType
Review Comment:
I couldn't do something interesting in that matters. Should I proceed with
SparkException.internalError() approach?
--
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]