@@ -304,7 +304,7 @@ var AssistDbSource = (function () {
};
huePubSub.subscribe('assist.db.refresh', function (options) {
- if (options.sourceTypes.indexOf(self.sourceType) !== -1) {
+ if (['hive', 'impala'].indexOf(self.sourceType) !== -1) {
window.setTimeout(function () {
self.reload(options.allCacheTypes);
}, 0);
@@ -344,7 +344,7 @@ from desktop.views import _ko
var db = match[1];
huePubSub.publish('assist.invalidate.impala', { flush: false, database: db });
}
- huePubSub.publish('assist.db.refresh', { sourceTypes: ['hive', 'impala'] });
+ huePubSub.publish('assist.db.refresh', { sourceType: 'hive' });
notebook.snippets()[0].status.subscribe(function(val){
if (val == 'failed'){