diff --git a/ibis-server/tests/routers/v2/connector/test_mssql.py b/ibis-server/tests/routers/v2/connector/test_mssql.py index 5e8b7f945..10e17821e 100644 --- a/ibis-server/tests/routers/v2/connector/test_mssql.py +++ b/ibis-server/tests/routers/v2/connector/test_mssql.py @@ -274,6 +274,24 @@ def test_query_with_timezone(manifest_str, mssql: SqlServerContainer): "test_null_time": "datetime64[ns]", } + @pytest.mark.skip( + reason="Ibis use non-nvarchar sql to get schema, it will get question mark. Wait https://github.com/ibis-project/ibis/pull/10490" + ) + def test_query_non_ascii_column(manifest_str, mssql: SqlServerContainer): + connection_info = _to_connection_info(mssql) + response = client.post( + url=f"{base_url}/query", + params={"limit": 1}, + json={ + "connectionInfo": connection_info, + "manifestStr": manifest_str, + "sql": 'SELECT 1 AS "калона"', + }, + ) + assert response.status_code == 200 + result = response.json() + assert result["columns"] == ["калона"] + def test_query_timestamp_literal(manifest_str, mssql: SqlServerContainer): connection_info = _to_connection_info(mssql) response = client.post(