parthchandra commented on code in PR #3738:
URL: https://github.com/apache/datafusion-comet/pull/3738#discussion_r2963107517
##########
spark/src/main/scala/org/apache/comet/iceberg/IcebergReflection.scala:
##########
@@ -77,6 +77,29 @@ object IcebergReflection extends Logging {
val UNKNOWN = "unknown"
}
+ /**
+ * Loads a class using the thread context classloader first, then falls back
to the system
+ * classloader.
+ *
+ * @param className
+ * Fully qualified class name to load
+ * @return
+ * The loaded Class object
+ */
+ def loadClass(className: String): Class[_] = {
Review Comment:
If there is a class loading error, it would be useful to log which loader
was used.
--
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]