cloud-fan commented on a change in pull request #35968:
URL: https://github.com/apache/spark/pull/35968#discussion_r834985943



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/MonotonicallyIncreasingID.scala
##########
@@ -85,7 +86,8 @@ case class MonotonicallyIncreasingID() extends LeafExpression 
with Stateful {
       $countTerm++;""", isNull = FalseLiteral)
   }
 
-  override def prettyName: String = "monotonically_increasing_id"
+  override def prettyName: String = getTagValue(

Review comment:
       If we override `nodeName` here, the default implementation of 
`prettyName` takes care of the alias tag.




-- 
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]

Reply via email to