Github user dongjoon-hyun commented on a diff in the pull request: https://github.com/apache/spark/pull/20359#discussion_r163631508 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/DriverRegistry.scala --- @@ -32,6 +32,9 @@ import org.apache.spark.util.Utils */ object DriverRegistry extends Logging { + // Initialize DriverManager first to prevent potential deadlocks between DriverManager and Driver + DriverManager.getDrivers --- End diff -- To be honest, it's not tested yet.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org