Skip to content

Commit

Permalink
test(snowflake): fix error types and explain the nth_value situation
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Feb 12, 2024
1 parent 6705e41 commit d4ec9f7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ibis/backends/tests/test_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ def calc_zscore(s):
pytest.mark.notimpl(["dask"], raises=com.OperationNotDefinedError),
pytest.mark.notimpl(["flink"], raises=com.OperationNotDefinedError),
pytest.mark.notimpl(["risingwave"], raises=PsycoPg2InternalError),
pytest.mark.broken(
["snowflake"],
raises=AssertionError,
reason="behavior of windows with nth_value has changed; unclear whether that is in ibis or in snowflake itself",
),
],
),
param(
Expand Down Expand Up @@ -776,8 +781,8 @@ def test_simple_ungrouped_window_with_scalar_order_by(alltypes):
pytest.mark.broken(["mssql"], raises=PyODBCProgrammingError),
pytest.mark.notyet(
["snowflake"],
reason="backend requires ordering",
raises=SnowflakeProgrammingError,
reason="backend supports this functionality but requires meaningful ordering",
raises=AssertionError,
),
pytest.mark.notimpl(
["risingwave"],
Expand Down Expand Up @@ -818,8 +823,8 @@ def test_simple_ungrouped_window_with_scalar_order_by(alltypes):
pytest.mark.broken(["mssql"], raises=PyODBCProgrammingError),
pytest.mark.notyet(
["snowflake"],
reason="backend requires ordering",
raises=SnowflakeProgrammingError,
reason="backend supports this functionality but requires meaningful ordering",
raises=AssertionError,
),
pytest.mark.notimpl(
["risingwave"],
Expand Down

0 comments on commit d4ec9f7

Please sign in to comment.