Skip to content

Commit 1e7fa0b

Browse files
committed
fix clickhouse test
1 parent 7d7342a commit 1e7fa0b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ibis-server/tests/routers/v2/connector/test_clickhouse.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ async def test_query(client, manifest_str, clickhouse: ClickHouseContainer):
179179
1,
180180
370,
181181
"O",
182-
"172799.49",
182+
"172799.490",
183183
"1996-01-02 00:00:00.000000",
184184
"1_370",
185185
"2024-01-01 23:59:59.000000",
@@ -308,7 +308,7 @@ async def test_query_to_many_relationship(
308308
result = response.json()
309309
assert len(result["columns"]) == 1
310310
assert len(result["data"]) == 1
311-
assert result["data"][0] == ["2860895.79"]
311+
assert result["data"][0] == ["2860895.790"]
312312
assert result["dtypes"] == {
313313
"totalprice": "object",
314314
}

ibis-server/tests/routers/v3/connector/clickhouse/test_functions.py

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ async def test_aggregate_function(client, manifest_str: str, connection_info):
107107
"columns": ["col"],
108108
"data": [[1]],
109109
"dtypes": {"col": "uint64"},
110+
"index": [0],
110111
}
111112

112113

0 commit comments

Comments
 (0)