Skip to content

Commit

Permalink
install from url
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Sep 6, 2024
1 parent 2c013cb commit 7423fb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/test_writes/test_writes.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,9 @@ def test_duckdb_url_import(warehouse: Path, arrow_table_with_null: pa.Table) ->

query = "SELECT * FROM duckdb_extensions() WHERE extension_name = 'iceberg'"
print(f"Before: {duckdb.sql(query)}")
duckdb.sql("INSTALL iceberg FROM core_nightly; LOAD iceberg;")
url = "http://extensions.duckdb.org/v1.0.0/linux_amd64_gcc4/iceberg.duckdb_extension.gz"
duckdb.sql(f"INSTALL '{url}';")
duckdb.sql("LOAD iceberg;")
print(f"After: {duckdb.sql(query)}")
result = duckdb.sql(
f"""
Expand Down

0 comments on commit 7423fb4

Please sign in to comment.