Skip to content

Commit

Permalink
Fix source entity missing time window bug. (feathr-ai#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
YihuiGuo authored and ahlag committed Aug 26, 2022
1 parent 3a33d6f commit 6fde1a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions feathr_project/feathr/registry/registry_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ def source_to_def(v: Source) -> dict:
ret["preprocessing"] = inspect.getsource(v.preprocessing)
if v.event_timestamp_column:
ret["eventTimestampColumn"] = v.event_timestamp_column
ret["event_timestamp_column"] = v.event_timestamp_column
if v.timestamp_format:
ret["timestampFormat"] = v.timestamp_format
ret["timestamp_format"] = v.timestamp_format
if v.registry_tags:
ret["tags"] = v.registry_tags
return ret
Expand Down

0 comments on commit 6fde1a2

Please sign in to comment.