@pytest.mark.integration
def test_duckdb_url_import(warehouse: Path, arrow_table_with_null: pa.Table) -> None:
os.environ["TZ"] = "Etc/UTC"
time.tzset()
tz = pytz.timezone(os.environ["TZ"])
catalog = SqlCatalog("test_sql_catalog", uri="sqlite:///:memory:", warehouse=f"/{warehouse}")
catalog.create_namespace("default")
identifier = "default.arrow_table_v1_with_null"
tbl = _create_table(catalog, identifier, {}, [arrow_table_with_null])
location = tbl.metadata_location
import duckdb
> duckdb.sql("INSTALL iceberg; LOAD iceberg;")
E _duckdb.IOException: IO Error: Failed to download extension "iceberg" at URL "http://extensions.duckdb.org/v1.5.5/osx_arm64/iceberg.duckdb_extension.gz"
E Extension "iceberg" is an existing extension.
E
E For more info, visit https://duckdb.org/docs/stable/extensions/troubleshooting?version=v1.5.5&platform=osx_arm64&extension=iceberg (ERROR Could not establish connection)
tests/integration/test_writes/test_writes.py:885: IOException
============================================================================================== short test summary info ===============================================================================================
FAILED tests/integration/test_writes/test_writes.py::test_duckdb_url_import - _duckdb.IOException: IO Error: Failed to download extension "iceberg" at URL "http://extensions.duckdb.org/v1.5.5/osx_arm64/iceberg.duckdb_extension.gz"
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================================================== 1 failed, 1268 passed, 70 skipped, 3951 deselected in 430.95s (0:07:10) =======================================================================
Apache Iceberg version
None
Please describe the bug 馃悶
Willingness to contribute