Skip to content

Commit e13b11d

Browse files
committed
remove .db suffix in warehouse location
1 parent 9185389 commit e13b11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/catalog/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ def _get_default_warehouse_location(self, database_name: str, table_name: str) -
930930

931931
if warehouse_path := self.properties.get(WAREHOUSE_LOCATION):
932932
warehouse_path = warehouse_path.rstrip("/")
933-
return f"{warehouse_path}/{database_name}.db/{table_name}"
933+
return f"{warehouse_path}/{database_name}/{table_name}"
934934

935935
raise ValueError("No default path is set, please specify a location when creating a table")
936936

0 commit comments

Comments
 (0)