Skip to content

Commit

Permalink
fix path to duckdb dump
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Jun 3, 2024
1 parent 747c26a commit d8acdb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/postgres_to_postgres/postgres_to_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def table_desc(table_name, pk, schema_name, order_date, columns="*"):
if load_type == "replace":
# 4. Load DuckDB local database into Postgres
print("##################################### START DUCKDB LOAD ########")
conn = duckdb.connect(f"{pipeline_name}.duckdb")
conn = duckdb.connect(f"{load_info.destination_displayable_credentials}".split(":///")[1])
conn.install_extension(
"./postgres_scanner.duckdb_extension"
) # duckdb_extension is downloaded/installed manually here, only needed if `LOAD/INSTALL postgres` throws an error
Expand Down

0 comments on commit d8acdb4

Please sign in to comment.