You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/01 02:10:11 UTC

[GitHub] [spark] AngersZhuuuu commented on pull request #31680: [SPARK-34568][SQL] We should respect enableHiveSupport when initialize SparkSession

AngersZhuuuu commented on pull request #31680:
URL: https://github.com/apache/spark/pull/31680#issuecomment-787586508


   > ```sql
   >            SparkSession.sessionStateClassName(sharedState.conf),
   > ```
   > 
   > seems correct to me
   
   Hmmmm 
   ```
   private[spark] object HiveUtils extends Logging {
   
     def withHiveExternalCatalog(sc: SparkContext): SparkContext = {
       sc.conf.set(CATALOG_IMPLEMENTATION.key, "hive")
       sc
     }
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



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