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

HUE-7248 [importer] Automatically set as external table based on ADLS data

Romain Rigaux пре 8 година
родитељ
комит
65b1b47d4a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      desktop/libs/indexer/src/indexer/templates/importer.mako

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

@@ -1263,7 +1263,7 @@ ${ assist.assistPanel() }
         resizeElements();
       });
       self.isObjectStore = ko.computed(function() {
-        return self.inputFormat() == 'file' && /^s3a:\/\/.*$/.test(self.path());
+        return self.inputFormat() == 'file' && /^(s3a|adl):\/.*$/.test(self.path());
       });
       self.isObjectStore.subscribe(function(newVal) {
         vm.createWizard.destination.useDefaultLocation(!newVal);