cloud-fan commented on a change in pull request #35534:
URL: https://github.com/apache/spark/pull/35534#discussion_r809672298
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
##########
@@ -126,8 +126,8 @@ object RaiseError {
""",
since = "2.0.0",
group = "misc_funcs")
-case class AssertTrue(left: Expression, right: Expression, child: Expression)
- extends RuntimeReplaceable {
+case class AssertTrue(left: Expression, right: Expression, replacement:
Expression)
+ extends RuntimeReplaceableInheritingTypeCoercion {
Review comment:
See the classdoc of `RuntimeReplaceableInheritingTypeCoercion`.
`replacement` must be in the constructor, so that catalyst rules can transform
it.
--
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]