beliefer edited a comment on issue #23841: [SPARK-26936][SQL] Fix bug of insert 
overwrite local dir and inconsistent behavior with Hive
URL: https://github.com/apache/spark/pull/23841#issuecomment-468534390
 
 
   > You need to first check the test you added in this pr... it still passes 
without your fix.
   
   Maybe UT run on local and depend on operating system or other difference of 
environment.
   I have checked the test framework, found UT run on local mode indeed.
   ```
   object TestHive
     extends TestHiveContext(
       new SparkContext(
         System.getProperty("spark.sql.test.master", "local[1]"),
         "TestSQLContext",
         new SparkConf()
           .set("spark.sql.test", "")
           .set(SQLConf.CODEGEN_FALLBACK.key, "false")
           .set("spark.sql.hive.metastore.barrierPrefixes",
             "org.apache.spark.sql.hive.execution.PairSerDe")
           .set("spark.sql.warehouse.dir", 
TestHiveContext.makeWarehouseDir().toURI.getPath)
           // SPARK-8910
           .set("spark.ui.enabled", "false")
           .set("spark.unsafe.exceptionOnMemoryLeak", "true")))
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to