diff --git a/ibis/backends/tests/test_numeric.py b/ibis/backends/tests/test_numeric.py index a40408c7631b3..1943c25c25943 100644 --- a/ibis/backends/tests/test_numeric.py +++ b/ibis/backends/tests/test_numeric.py @@ -1092,6 +1092,13 @@ def test_binary_arithmetic_operations(backend, alltypes, df, op): backend.assert_series_equal(result, expected, check_exact=False) +@pytest.mark.notimpl("flink", raises=AssertionError, reason="Flink does floor division") +def test_integer_truediv(con): + expr = 1 / ibis.literal(2) + result = con.execute(expr) + assert result == 0.5 + + def test_mod(backend, alltypes, df): expr = operator.mod(alltypes.smallint_col, alltypes.smallint_col + 1).name("tmp")