Ver código fonte

HUE-8759 [importer] Fix import to index, importing to hive instead.

(cherry picked from commit 945098bcf8abc37a56e8c79c1218a3473a7eaa16)

Change-Id: I59ff7b6b421b75d238f1fb6c25ea9da8eaea98d5
jdesjean 6 anos atrás
pai
commit
b70bd56d8e

+ 3 - 1
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -2282,7 +2282,9 @@ ${ assist.assistPanel() }
         }
       });
       wizard.prefill.target_type.subscribe(function(newValue) {
-        self.outputFormat(newValue || 'table');
+        setTimeout(function() { // target_type gets updated by the router (onePageViewModelModel.js) and delaying allow the notification to go through
+          self.outputFormat(newValue || 'table');
+        },0);
         if (newValue === 'database') {
           vm.currentStep(2);
         } else {