cloud-fan commented on code in PR #52559:
URL: https://github.com/apache/spark/pull/52559#discussion_r2419469825


##########
common/utils/src/main/scala/org/apache/spark/SparkThrowableHelper.scala:
##########
@@ -61,6 +66,20 @@ private[spark] object SparkThrowableHelper {
     s"$prefix$displayMessage$displaySqlState$displayQueryContext"
   }
 
+  def getMessage(

Review Comment:
   can we share some code between this and the other overload? e.g. we can have 
a `private def buildMessage` that takes the `displayMessage`.



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