We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b5823 commit 89a8752Copy full SHA for 89a8752
sql/core/src/main/scala/org/apache/spark/sql/api/r/SQLUtils.scala
@@ -51,8 +51,7 @@ private[sql] object SQLUtils extends Logging {
51
&& jsc.sc.conf.get(CATALOG_IMPLEMENTATION.key, "hive").toLowerCase == "hive") {
52
SparkSession.builder().sparkContext(withHiveExternalCatalog(jsc.sc)).getOrCreate()
53
} else {
54
- if (enableHiveSupport
55
- && jsc.sc.conf.get(CATALOG_IMPLEMENTATION.key, "hive").toLowerCase == "hive") {
+ if (enableHiveSupport) {
56
logWarning("SparkR: enableHiveSupport is requested for SparkSession but " +
57
s"Spark is not built with Hive or ${CATALOG_IMPLEMENTATION.key} is not set to 'hive', " +
58
"falling back to without Hive support.")
0 commit comments