Skip to content

Commit 82ee7f8

Browse files
authored
fix: Reenable tests (#6036)
* fix: reenable tests Signed-off-by: tokoko <togurgenidze@gmail.com> * fix: unit tests Signed-off-by: tokoko <togurgenidze@gmail.com> --------- Signed-off-by: tokoko <togurgenidze@gmail.com>
1 parent 4dad460 commit 82ee7f8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

sdk/python/feast/type_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ def pa_to_feast_value_type(pa_type_as_str: str) -> ValueType:
10921092
elif pa_type_as_str.startswith("map<"):
10931093
value_type = ValueType.MAP
10941094
elif pa_type_as_str == "large_string":
1095-
value_type = ValueType.STRING
1095+
value_type = ValueType.JSON
10961096
elif pa_type_as_str.startswith("struct<") or pa_type_as_str.startswith("struct{"):
10971097
value_type = ValueType.STRUCT
10981098
else:

sdk/python/tests/integration/dbt/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ def pytest_collection_modifyitems(config, items): # noqa: ARG001
2929
reason="dbt manifest.json not found - run 'dbt build' first or use dbt-integration-test workflow"
3030
)
3131
for item in items:
32-
item.add_marker(skip_marker)
32+
if str(TEST_DBT_PROJECT_DIR) in str(item.fspath) or "/dbt/" in str(
33+
item.fspath
34+
):
35+
item.add_marker(skip_marker)

sdk/python/tests/unit/local_feast_tests/test_feature_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_apply_with_fv_inference() -> None:
7171

7272
fs = store.get_feature_service("all_stats")
7373
assert len(fs.feature_view_projections) == 2
74-
assert len(fs.feature_view_projections[0].features) == 3
74+
assert len(fs.feature_view_projections[0].features) == 6
7575
assert len(fs.feature_view_projections[0].desired_features) == 0
7676
assert len(fs.feature_view_projections[1].features) == 2
7777
assert len(fs.feature_view_projections[1].desired_features) == 0

0 commit comments

Comments
 (0)