feathr-ai/feathr

Add guardrails for materialize different keys

Open

#529 创建于 2022年7月29日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Scala (1,929 star) (244 fork)batch import
good first issuepython

描述

In theory, we can't materialize features of different keys into same online table as tables are always keyed by same key.

In the documentation, we do warn users not to materialize different keys to same table.

Right now, if users materialize features to the same table, a random group of the same key will materialize to the table. The other different groups will be discarded. The documentation is not fool-proof enough, so we should throw exception when users do this.

The code to modify is: https://github.com/linkedin/feathr/blob/main/feathr_project/feathr/client.py#L558

贡献者指南