Skip to content

Commit f97d751

Browse files
authored
Merge pull request #121 from serv-c/fix/prefix
fix: add ability to prefix table location for delta
2 parents f3efbb3 + d6ee2c0 commit f97d751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servc/svc/com/storage/delta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, config: Config, table: LakeTable):
3737
else:
3838
self._location_prefix = os.path.join(
3939
str(catalog_properties_raw.get("warehouse")),
40-
str(catalog_properties_raw.get("s3.access-key-id")),
40+
str(catalog_properties_raw.get("delta-prefix") or catalog_properties_raw.get("s3.access-key-id")),
4141
)
4242
self._storageOptions = {
4343
"AWS_ACCESS_KEY_ID": str(

0 commit comments

Comments
 (0)