cloud-fan commented on a change in pull request #36003:
URL: https://github.com/apache/spark/pull/36003#discussion_r839136063
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/Percentile.scala
##########
@@ -88,7 +88,8 @@ case class Percentile(
this(child, percentageExpression, frequency, 0, 0)
}
- override def prettyName: String = "percentile"
Review comment:
We should override `nodeName` here. The default implementation of
`prettyName` can handle `FunctionRegistry.FUNC_ALIAS` already
--
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]