Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20359#discussion_r163750551
  
    --- 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 --
    
    if it's too hard to write a UT, I think a manual test is also fie.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to