Skip to content

Commit 375a2d3

Browse files
committed
fix test
1 parent 0e04d94 commit 375a2d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

python/tests/core/test_arrow_flight_client.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def test_construct_query_object(self, mocker, backend_fixtures):
252252
"right_filter": None,
253253
},
254254
},
255-
"connectors": {"test.fg_test_1": {"type": "hudi"}},
255+
"connectors": {"test.fg_test_1": {"time_travel_type": "hudi"}},
256256
}
257257

258258
query_object["features"] = {
@@ -293,7 +293,7 @@ def test_construct_query_object_datetime_filter(self, mocker, backend_fixtures):
293293
},
294294
"right_filter": None,
295295
},
296-
"connectors": {"test.fg_test_1": {"type": "hudi"}},
296+
"connectors": {"test.fg_test_1": {"time_travel_type": "hudi"}},
297297
}
298298

299299
query_object["features"] = {
@@ -331,7 +331,7 @@ def test_construct_query_object_without_fs(self, mocker, backend_fixtures):
331331
},
332332
"right_filter": None,
333333
},
334-
"connectors": {"test.fg_test_1": {"type": "hudi"}},
334+
"connectors": {"test.fg_test_1": {"time_travel_type": "hudi"}},
335335
}
336336

337337
query_object["features"] = {
@@ -369,7 +369,7 @@ def test_construct_query_object_without_fs_excluded(self, mocker, backend_fixtur
369369
},
370370
"right_filter": None,
371371
},
372-
"connectors": {"test.fg_test_1": {"type": "hudi"}},
372+
"connectors": {"test.fg_test_1": {"time_travel_type": "hudi"}},
373373
}
374374

375375
query_object["features"] = {
@@ -430,7 +430,8 @@ def test_construct_query_object_snowflake(self, mocker, backend_fixtures):
430430
},
431431
"connectors": {
432432
"test.tpch1snowflake_1": {
433-
"type": "SNOWFLAKE",
433+
"time_travel_type": None,
434+
"type": 'SNOWFLAKE',
434435
"options": {
435436
"user": "test_user",
436437
"account": "test_url",

0 commit comments

Comments
 (0)