Browse Source

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

Romain Rigaux 8 năm trước cách đây
mục cha
commit
65b1b47
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);