Skip to content

Commit

Permalink
test(clickhouse): xfail broken-on-clickhouse-only TPC-DS queries
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 20, 2024
1 parent 015814c commit 97ebca0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ibis/backends/tests/tpc/ds/test_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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")])
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 97ebca0

Please sign in to comment.