Skip to content

Commit 5322189

Browse files
committed
address comments
1 parent 9dfeaca commit 5322189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
try:
4040
# Try to access HiveConf, it will raise exception if Hive is not added
4141
conf = SparkConf()
42-
if conf.get('spark.sql.catalogImplementation', 'hive') == 'hive':
42+
if conf.get('spark.sql.catalogImplementation', 'hive').lower() == 'hive':
4343
SparkContext._jvm.org.apache.hadoop.hive.conf.HiveConf()
4444
spark = SparkSession.builder\
4545
.enableHiveSupport()\

0 commit comments

Comments
 (0)