From 97ebca00fc4763cfe78f5948000a39d412b389ea Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Fri, 20 Dec 2024 05:00:44 -0500 Subject: [PATCH] test(clickhouse): xfail broken-on-clickhouse-only TPC-DS queries --- ibis/backends/tests/tpc/ds/test_queries.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ibis/backends/tests/tpc/ds/test_queries.py b/ibis/backends/tests/tpc/ds/test_queries.py index 40d1b3650d96..11f5a108ef27 100644 --- a/ibis/backends/tests/tpc/ds/test_queries.py +++ b/ibis/backends/tests/tpc/ds/test_queries.py @@ -111,6 +111,7 @@ def test_03(date_dim, store_sales, item): @pytest.mark.notimpl( ["datafusion"], reason="Optimizer rule 'common_sub_expression_eliminate' failed" ) +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_04(customer, store_sales, catalog_sales, web_sales, date_dim): def profile(sales, *, name): char = name[0] @@ -1144,6 +1145,7 @@ def test_18( @tpc_test("ds") +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_19(date_dim, store_sales, item, customer, customer_address, store): return ( date_dim.join(store_sales, [("d_date_sk", "ss_sold_date_sk")]) @@ -1301,6 +1303,7 @@ def total_sales( @tpc_test("ds", result_is_empty=True) +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_24(store_sales, store_returns, store, item, customer, customer_address): ssales = ( store_sales.join( @@ -3259,6 +3262,7 @@ def test_63(item, store_sales, date_dim, store): @tpc_test("ds", result_is_empty=True) +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_64( catalog_sales, catalog_returns, @@ -3422,6 +3426,7 @@ def test_64( @tpc_test("ds", result_is_empty=True) +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_65(store, item, store_sales, date_dim): sa = ( store_sales.join( @@ -3751,12 +3756,13 @@ def test_71(item, web_sales, date_dim, catalog_sales, store_sales, time_dim): ) +@tpc_test("ds") @pytest.mark.notyet( ["datafusion"], raises=OperationNotDefinedError, reason="No DateDelta op defined", ) -@tpc_test("ds") +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_72( catalog_sales, inventory, @@ -3889,6 +3895,7 @@ def test_73(store_sales, date_dim, store, household_demographics, customer): @tpc_test("ds") +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_74(customer, store_sales, date_dim, web_sales): renames = { "customer_id": "c_customer_id", @@ -5058,6 +5065,7 @@ def test_94(web_sales, date_dim, customer_address, web_site, web_returns): @tpc_test("ds") +@pytest.mark.notyet(["clickhouse"], reason="Broken") def test_95(web_sales, date_dim, customer_address, web_site, web_returns): ws1 = web_sales.view() ws2 = web_sales.view()