cloud-fan commented on a change in pull request #33022:
URL: https://github.com/apache/spark/pull/33022#discussion_r656405435
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CastSuiteBase.scala
##########
@@ -73,7 +73,9 @@ abstract class CastSuiteBase extends SparkFunSuite with
ExpressionEvalHelper {
}
}
- protected def isAlwaysNullable: Boolean = false
+ // Whether the test suite is for TryCast. If yes, there is no exceptions and
the result is
+ // always nullable.
+ protected def isTryCast: Boolean = false
Review comment:
yea we should mention it in the PR description
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]