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 9dfeaca commit 5322189Copy full SHA for 5322189
python/pyspark/shell.py
@@ -39,7 +39,7 @@
39
try:
40
# Try to access HiveConf, it will raise exception if Hive is not added
41
conf = SparkConf()
42
- if conf.get('spark.sql.catalogImplementation', 'hive') == 'hive':
+ if conf.get('spark.sql.catalogImplementation', 'hive').lower() == 'hive':
43
SparkContext._jvm.org.apache.hadoop.hive.conf.HiveConf()
44
spark = SparkSession.builder\
45
.enableHiveSupport()\
0 commit comments