Skip to content

Commit

Permalink
test(flink): xfail in-struct test (#8993)
Browse files Browse the repository at this point in the history
Follow-up to xfail the flink test for `IN STRUCT` queries
  • Loading branch information
cpcloud authored Apr 18, 2024
1 parent 8f61c14 commit ccc3a47
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ibis/backends/tests/test_struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
PsycoPg2InternalError,
PsycoPg2SyntaxError,
Py4JJavaError,
PySparkAnalysisException,
)
from ibis.common.exceptions import IbisError, OperationNotDefinedError

Expand Down Expand Up @@ -253,6 +254,16 @@ def test_keyword_fields(con, nullable):
reason="doesn't seem to support IN-style subqueries on structs",
)
@pytest.mark.notimpl(["pandas", "dask"], raises=OperationNotDefinedError)
@pytest.mark.xfail_version(
pyspark=["pyspark<3.5"],
reason="requires pyspark 3.5",
raises=PySparkAnalysisException,
)
@pytest.mark.notimpl(
["flink"],
raises=Py4JJavaError,
reason="fails to parse due to an unsupported operation; flink docs say the syntax is supported",
)
def test_isin_struct(con):
needle1 = ibis.struct({"x": 1, "y": 2})
needle2 = ibis.struct({"x": 2, "y": 3})
Expand Down

0 comments on commit ccc3a47

Please sign in to comment.