From e8ba5f6c2bce879b09b5a6c3c0340ce05343902c Mon Sep 17 00:00:00 2001 From: Yihui Guo Date: Tue, 23 Aug 2022 19:16:23 +0800 Subject: [PATCH] Fix source entity missing time window bug. --- feathr_project/feathr/registry/registry_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feathr_project/feathr/registry/registry_utils.py b/feathr_project/feathr/registry/registry_utils.py index a8fd2bfb8..2e0f1a6c7 100644 --- a/feathr_project/feathr/registry/registry_utils.py +++ b/feathr_project/feathr/registry/registry_utils.py @@ -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