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

    https://github.com/apache/spark/pull/20377#discussion_r163628671
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala 
---
    @@ -132,7 +131,8 @@ private[hive] class HiveClientImpl(
           if (ret != null) {
             // hive.metastore.warehouse.dir is determined in SharedState after 
the CliSessionState
             // instance constructed, we need to follow that change here.
    -        warehouseDir.foreach { dir =>
    +        val conf = hadoopConf.asInstanceOf[Configuration]
    --- End diff --
    
    See other comment.


---

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

Reply via email to