◐ Shell
clean mode source ↗

fix: Feast create empty online table when FeatureView attribute online=False by tmihalac · Pull Request #4666 · feast-dev/feast

Conversation

@tmihalac

What this PR does / why we need it:

Currently Feast create an empty online table even if FeatureView attribute online=False, this PR aims to fix that.

Which issue(s) this PR fixes:

Fixes #4616

HaoXuAI

tables_to_keep_online = [
fv
for fv in tables_to_keep
if not isinstance(fv, FeatureView) or fv.online

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if everying feature view will have a "online" parameter?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HaoXuAI I saw that only feature view and the subclasses(batch feature view, stream feature view) that inherit from it have the online flag

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the API might change in the future, so to avoid breaking, maybe add a check if it has this attribute.

dmartinol

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

…e=False

Signed-off-by: Theodor Mihalache <tmihalac@redhat.com>

HaoXuAI

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

HaoXuAI

lokeshrangineni

lokeshrangineni pushed a commit to lokeshrangineni/feast that referenced this pull request

Oct 29, 2024
…e=False (feast-dev#4666)

Signed-off-by: Theodor Mihalache <tmihalac@redhat.com>

dharmisha pushed a commit to nishantgaurav-dev/feast that referenced this pull request

Jan 15, 2025

Labels