You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/10/24 06:17:41 UTC

[GitHub] [incubator-kyuubi] zhouyifan279 commented on a diff in pull request #3683: [KYUUBI #3675][Subtask] Get table owner for DDL/DML v2 commands

zhouyifan279 commented on code in PR #3683:
URL: https://github.com/apache/incubator-kyuubi/pull/3683#discussion_r1002912785


##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/util/AuthZUtils.scala:
##########
@@ -40,7 +40,7 @@ private[authz] object AuthZUtils {
       case Success(value) => value.asInstanceOf[T]
       case Failure(e) =>
         val candidates = o.getClass.getDeclaredFields.map(_.getName).mkString("[", ",", "]")
-        throw new RuntimeException(s"$name not in $candidates", e)
+        throw new RuntimeException(s"$name not in ${o.getClass}$candidates", e)

Review Comment:
   OK



-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org