Skip to content

Commit

Permalink
CR updates
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <[email protected]>
  • Loading branch information
achals committed Sep 9, 2021
1 parent 729e77d commit bb914b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,10 +892,7 @@ def _augment_response_with_on_demand_transforms(

odfv_feature_refs = defaultdict(list)
for feature_ref in feature_refs:
view_name, feature_name = (
feature_ref.split(":")[0],
feature_ref.split(":")[1],
)
view_name, feature_name = feature_ref.split(":")
if view_name in all_odfv_feature_names:
odfv_feature_refs[view_name].append(feature_name)

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/feast/type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def feast_value_type_to_pandas_type(value_type: ValueType) -> Any:
ValueType.DOUBLE: "float",
ValueType.BYTES: "bytes",
ValueType.BOOL: "bool",
ValueType.UNIX_TIMESTAMP: "Timestamp",
ValueType.UNIX_TIMESTAMP: "datetime",
}
if value_type in value_type_to_pandas_type:
return value_type_to_pandas_type[value_type]
Expand Down

0 comments on commit bb914b6

Please sign in to comment.