Skip to content

Commit 567f4c0

Browse files
Fix prefix match for ADLS_SAS_TOKEN.
1 parent f4e23e5 commit 567f4c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/io/fsspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _adls(properties: Properties) -> AbstractFileSystem:
207207
from azure.core.credentials_async import AsyncTokenCredential
208208

209209
for key, sas_token in {
210-
key.replace(f"{ADLS_SAS_TOKEN}.", ""): value for key, value in properties.items() if key.startswith(ADLS_SAS_TOKEN)
210+
key.replace(f"{ADLS_SAS_TOKEN}.", ""): value for key, value in properties.items() if key.startswith(f"{ADLS_SAS_TOKEN}.")
211211
}.items():
212212
if ADLS_ACCOUNT_NAME not in properties:
213213
properties[ADLS_ACCOUNT_NAME] = key.split(".")[0]

0 commit comments

Comments
 (0)