From 006cfa7bf4af0e110716ea5ee601567fb1873ead Mon Sep 17 00:00:00 2001 From: jitingxu1 Date: Fri, 20 Sep 2024 12:25:21 -0700 Subject: [PATCH] skip impala and trino in another test --- ibis/backends/__init__.py | 1 - ibis/backends/tests/test_register.py | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 = []