Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22149#discussion_r235332073
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/ScriptTransformationSuite.scala
 ---
    @@ -49,6 +52,23 @@ class ScriptTransformationSuite extends SparkPlanTest 
with TestHiveSingleton {
         outputSerdeClass = Some(classOf[LazySimpleSerDe].getCanonicalName)
       )
     
    +  private val uncaughtExceptionHandler = new TestUncaughtExceptionHandler
    +
    +  protected override def beforeAll(): Unit = {
    +    super.beforeAll()
    +    Thread.setDefaultUncaughtExceptionHandler(uncaughtExceptionHandler)
    --- End diff --
    
    Shall we better get default handler and restore it?


---

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

Reply via email to