From 8e711493db2133aec97baea9f72912db0d5bb6bc Mon Sep 17 00:00:00 2001 From: Albert Date: Mon, 2 Nov 2026 06:24:18 +0000 Subject: [PATCH] test(ibis): type error expression before checking propagation --- tests/test_client.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_client.py b/tests/test_client.py index d34387f..36d6395 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -348,7 +348,11 @@ def test_ibis_describe_does_not_execute_data_and_preserves_query_errors(client): ibis = pytest.importorskip("ibis") backend = ibis.altertable.from_connection(client) - table = backend.sql("SELECT error('ibis execution failed') AS value") + # Give the always-failing expression a supported result type so execution + # reaches the remote query instead of failing local schema validation. + table = backend.sql( + "SELECT CAST(error('ibis execution failed') AS BIGINT) AS value" + ) with pytest.raises(errors.ApiError, match="ibis execution failed"): table.execute()