Skip to content

Commit

Permalink
Update duckdb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
buremba committed Oct 20, 2024
1 parent 4ca773e commit 392eff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion universql/warehouse/duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def _get_iceberg_ref(self, default_namespace, destination_table, ):
def _get_db_path(self, db_name):
database_path = self.catalog.context.get('database_path')
if database_path is not None:
duckdb_path = database_path / f'{db_name}.duckdb'
duckdb_path = os.path.join(database_path, f'{db_name}.duckdb')
else:
duckdb_path = ':memory:'
return duckdb_path
Expand Down

0 comments on commit 392eff8

Please sign in to comment.