Skip to content

Commit 60ed486

Browse files
committed
add support for azure 'dfs.core.windows.net' alongside with 'blob.core.windows.net'
1 parent a9cd60c commit 60ed486

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cubejs-base-driver/src/BaseDriver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,8 @@ export abstract class BaseDriver implements DriverInterface {
751751
bucketName: string,
752752
tableName: string
753753
): Promise<string[]> {
754-
const parts = bucketName.split('.blob.core.windows.net/');
754+
const splitter = bucketName.includes('blob.core') ? '.blob.core.windows.net/' : '.dfs.core.windows.net/';
755+
const parts = bucketName.split(splitter);
755756
const account = parts[0];
756757
const container = parts[1].split('/')[0];
757758
let credential: StorageSharedKeyCredential | DefaultAzureCredential;

0 commit comments

Comments
 (0)