Преглед изворни кода

HUE-4075 [editor] Hue will not start if impala is blacklisted

Jenny Kim пре 9 година
родитељ
комит
a7781266ce
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

+ 1 - 1
desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

@@ -74,7 +74,7 @@ def query_error_handler(func):
 
 
 def is_impala_enabled():
-  return impala_settings is not None or type(impala_settings) == BoundConfig
+  return impala_settings is not None and type(impala_settings) == BoundConfig
 
 
 class HiveConfiguration(object):