Skip to content

Commit 2ad49de

Browse files
committed
Add adls.account-host property
1 parent da88b8d commit 2ad49de

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

pyiceberg/io/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
ADLS_SAS_TOKEN = "adls.sas-token"
8181
ADLS_TENANT_ID = "adls.tenant-id"
8282
ADLS_CLIENT_ID = "adls.client-id"
83-
ADLS_ClIENT_SECRET = "adls.client-secret"
83+
ADLS_CLIENT_SECRET = "adls.client-secret"
84+
ADLS_ACCOUNT_HOST = "adls.account-host"
8485
GCS_TOKEN = "gcs.oauth2.token"
8586
GCS_TOKEN_EXPIRES_AT_MS = "gcs.oauth2.token-expires-at"
8687
GCS_PROJECT_ID = "gcs.project-id"

pyiceberg/io/fsspec.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
S3_SIGNER_ENDPOINT,
7474
S3_SIGNER_ENDPOINT_DEFAULT,
7575
S3_SIGNER_URI,
76-
ADLS_ClIENT_SECRET,
76+
ADLS_CLIENT_SECRET,
77+
ADLS_ACCOUNT_HOST,
7778
FileIO,
7879
InputFile,
7980
InputStream,
@@ -207,7 +208,8 @@ def _adls(properties: Properties) -> AbstractFileSystem:
207208
sas_token=properties.get(ADLS_SAS_TOKEN),
208209
tenant_id=properties.get(ADLS_TENANT_ID),
209210
client_id=properties.get(ADLS_CLIENT_ID),
210-
client_secret=properties.get(ADLS_ClIENT_SECRET),
211+
client_secret=properties.get(ADLS_CLIENT_SECRET),
212+
account_host=properties.get(ADLS_ACCOUNT_HOST),
211213
)
212214

213215

0 commit comments

Comments
 (0)