cloud-fan commented on code in PR #52449:
URL: https://github.com/apache/spark/pull/52449#discussion_r2378116388
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala:
##########
@@ -255,6 +255,11 @@ case class Alias(child: Expression, name: String)(
s"${child.sql} AS $qualifierPrefix${quoteIfNeeded(name)}"
}
+ // Copying this alias with a new child expression.
+ def withChild(newChild: Expression): Alias = {
Review Comment:
```suggestion
def withNewChild(newChild: Expression): Alias = {
```
to match the existing naming style
--
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]