gatorsmile commented on a change in pull request #24391: 
[SPARK-27402][SQL][test-hadoop3.2][test-maven]  Fix hadoop-3.2 test 
issue(except the hive-thriftserver module)
URL: https://github.com/apache/spark/pull/24391#discussion_r283182251
 
 

 ##########
 File path: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
 ##########
 @@ -191,7 +191,27 @@ private[hive] class HiveClientImpl(
   }
 
   /** Returns the configuration for the current session. */
-  def conf: HiveConf = state.getConf
+  def conf: HiveConf = {
 
 Review comment:
   To avoid a regression, could you change it to ?
   
   ```Scala
   if (!isHive23) {
       state.getConf
     } else {
       ...
     }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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