panbingkun commented on code in PR #42238:
URL: https://github.com/apache/spark/pull/42238#discussion_r1279144284


##########
sql/api/src/main/scala/org/apache/spark/sql/errors/DataTypeErrors.scala:
##########
@@ -64,7 +64,7 @@ private[sql] object DataTypeErrors extends DataTypeErrorsBase 
{
   def unsupportedJavaTypeError(clazz: Class[_]): SparkRuntimeException = {
     new SparkRuntimeException(
       errorClass = "_LEGACY_ERROR_TEMP_2121",
-      messageParameters = Map("clazz" -> clazz.toString()))

Review Comment:
   I just looked a bit harsh, so I made it with ease 😄



##########
sql/api/src/main/scala/org/apache/spark/sql/errors/DataTypeErrors.scala:
##########
@@ -64,7 +64,7 @@ private[sql] object DataTypeErrors extends DataTypeErrorsBase 
{
   def unsupportedJavaTypeError(clazz: Class[_]): SparkRuntimeException = {
     new SparkRuntimeException(
       errorClass = "_LEGACY_ERROR_TEMP_2121",
-      messageParameters = Map("clazz" -> clazz.toString()))

Review Comment:
   I just looked a bit harsh, so I made it with ease 😄



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