Skip to content

Commit 747e197

Browse files
committed
fix test assert
1 parent 6e484da commit 747e197

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
"expression": "O_TOTALPRICE",
4141
"type": "number",
4242
},
43-
{"name": "orderdate", "expression": "O_ORDERDATE", "type": "date"},
43+
{
44+
"name": "orderdate",
45+
"expression": "TRUNC(O_ORDERDATE)",
46+
"type": "date",
47+
},
4448
{
4549
"name": "order_cust_key",
4650
"expression": "O_ORDERKEY || '_' || O_CUSTKEY",
@@ -117,7 +121,7 @@ async def test_query(client, manifest_str, oracle: OracleDbContainer):
117121
370,
118122
"O",
119123
"172799.49",
120-
"1996-01-02",
124+
"1996-01-02 00:00:00.000000",
121125
"1_370",
122126
"2024-01-01 23:59:59.000000",
123127
"2024-01-01 23:59:59.000000 UTC",

0 commit comments

Comments
 (0)