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/02/28 14:37:54 UTC

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

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


   > When SparkContext is initialed, if we want to start SparkSession, when we call `SparkSession.builder.enableHiveSupport().getOrCreate()`, the SparkSession we created won't have hive support
   
   Is it true? In this case `enableHiveSupport` will add `spark.sql.catalogImplementation` to the initial configs for `SparkSession` and `SharedState`. And then, the config will be populated in the cloned SparkConf of `SharedState`, which is used to init the externalCatalog.


----------------------------------------------------------------
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