瀏覽代碼

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);