diff --git a/ibis/tests/expr/test_timestamp.py b/ibis/tests/expr/test_timestamp.py index 45b8972d5dc4..49e9bc673116 100644 --- a/ibis/tests/expr/test_timestamp.py +++ b/ibis/tests/expr/test_timestamp.py @@ -184,3 +184,14 @@ def test_timestamp_field_access_on_time_failure( def test_integer_timestamp_fails(value): with pytest.raises(TypeError, match=r"Use ibis\.literal\(\.\.\.\)\.to_timestamp"): ibis.timestamp(value) + + +def test_timestamp_range_with_expr_inputs(): + start = ibis.now() - ibis.interval(days=1) + stop = ibis.now() + expr = ibis.range(start, stop, ibis.interval(seconds=1)) + + dtype = expr.type() + + assert dtype.is_array() + assert dtype.value_type.is_timestamp()