Skip to content

Commit bb914b6

Browse files
committed
CR updates
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 729e77d commit bb914b6

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

sdk/python/feast/feature_store.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -892,10 +892,7 @@ def _augment_response_with_on_demand_transforms(
892892

893893
odfv_feature_refs = defaultdict(list)
894894
for feature_ref in feature_refs:
895-
view_name, feature_name = (
896-
feature_ref.split(":")[0],
897-
feature_ref.split(":")[1],
898-
)
895+
view_name, feature_name = feature_ref.split(":")
899896
if view_name in all_odfv_feature_names:
900897
odfv_feature_refs[view_name].append(feature_name)
901898

sdk/python/feast/type_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def feast_value_type_to_pandas_type(value_type: ValueType) -> Any:
8181
ValueType.DOUBLE: "float",
8282
ValueType.BYTES: "bytes",
8383
ValueType.BOOL: "bool",
84-
ValueType.UNIX_TIMESTAMP: "Timestamp",
84+
ValueType.UNIX_TIMESTAMP: "datetime",
8585
}
8686
if value_type in value_type_to_pandas_type:
8787
return value_type_to_pandas_type[value_type]

0 commit comments

Comments
 (0)