dongjoon-hyun commented on a change in pull request #25736: [SPARK-29026][SQL] 
Improve error message when constructor in `ScalaReflection` isn't found
URL: https://github.com/apache/spark/pull/25736#discussion_r322485513
 
 

 ##########
 File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/ScalaReflection.scala
 ##########
 @@ -925,6 +925,9 @@ trait ScalaReflection extends Logging {
       } else {
         primaryConstructorSymbol.get.asMethod.paramLists
       }
+    } else {
+      throw new UnsupportedOperationException(s"Unable to find constructor for 
${tpe}. " +
 
 Review comment:
   `$tpe` instead of `${tpe}`?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to