feathr-ai / feathr-ai/feathr

[BUG] `register_features` throws a "KeyError: 'guid' ..." error when the same name features are already registered.

未关闭
#750 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Scala
星标
1.9k
派生
247
PR 合并指标
30 天内没有已合并 PR

描述

### Willingness to contribute

No. I cannot contribute a bug fix at this time.

### Feathr version

0.8.0

### System information

- **OS Platform and Distribution (e.g., Linux Ubuntu 20.0)**: Ubuntu 20
- **Python version**: 3.10
- **Spark version, if reporting runtime issue**: 3.2.2

### Describe the problem

`client.register_features()` raises KeyError: 'guid' exception if the features are already registered.
Expected behavior is either overwrite (or accepts `overwrite=True` flag) or throw a more informative error, describing the feature names are already registered.

### Tracking information

_No response_

### Code to reproduce bug

_No response_

### What component(s) does this bug affect?

- [X] `Python Client`: This is the client users use to interact with most of our API. Mostly written in Python.
- [ ] `Computation Engine`: The computation engine that execute the actual feature join and generation work. Mostly in Scala and Spark.
- [X] `Feature Registry API`: The frontend API layer supports SQL, Purview(Atlas) as storage. The API layer is in Python(FAST API)
- [ ] `Feature Registry Web UI`: The Web UI for feature registry. Written in React

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。