Browse Source

HUE-8399 [editor] Limit functions assist to Impala in embedded mode

Johan Ahlen 7 years ago
parent
commit
f89180221d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/templates/assist.mako

+ 1 - 1
desktop/core/src/desktop/templates/assist.mako

@@ -2284,7 +2284,7 @@ from desktop.views import _ko
         self.disposals = [];
 
         self.activeType = ko.observable();
-        self.availableTypes = ko.observableArray(['Hive', 'Impala', 'Pig']);
+        self.availableTypes = ko.observableArray(window.IS_EMBEDDED ? ['Impala'] : ['Hive', 'Impala', 'Pig']);
         self.query = ko.observable().extend({ rateLimit: 400 });
         self.selectedFunction = ko.observable();