diff --git a/ibis/backends/__init__.py b/ibis/backends/__init__.py index 0740850b6f8da..4ac18ab95d87a 100644 --- a/ibis/backends/__init__.py +++ b/ibis/backends/__init__.py @@ -10,7 +10,6 @@ import re import sys import urllib.parse -import urllib.request import weakref from io import BytesIO from pathlib import Path diff --git a/ibis/backends/tests/test_register.py b/ibis/backends/tests/test_register.py index 59ac3658462f9..3fbd47005e781 100644 --- a/ibis/backends/tests/test_register.py +++ b/ibis/backends/tests/test_register.py @@ -472,6 +472,12 @@ def test_read_parquet_url_request(con, url, data_dir, in_table_name, monkeypatch pytest.importorskip("pyarrow.parquet") fsspec = pytest.importorskip("fsspec") + if con.name in ("trino", "impala"): + # TODO: remove after trino and impala have efficient insertion + pytest.skip( + "Both Impala and Trino lack efficient data insertion methods from Python." + ) + fname = Path("functional_alltypes.parquet") fname = Path(data_dir) / "parquet" / fname.name mock_calls = []