Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update doc
Signed-off-by: HaoXuAI <sduxuhao@gmail.com>
  • Loading branch information
HaoXuAI committed Jul 14, 2025
commit 02b2cdbe8d1c590553732c7207068d060e3df4e1
15 changes: 15 additions & 0 deletions sdk/python/feast/infra/offline_stores/hybrid_offline_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,21 @@ def get_historical_features(
project: str,
full_feature_names: bool = False,
) -> RetrievalJob:
# TODO: Multiple data sources can be supported when feature store use compute engine
# for getting historical features
data_source = None
for feature_view in feature_views:
if not feature_view.batch_source:
raise ValueError(
f"HybridOfflineStore only supports feature views with DataSource as source. "
)
if not data_source:
data_source = feature_view.batch_source
elif data_source != feature_view.batch_source:
raise ValueError(
"All feature views must have the same batch source for HybridOfflineStore."
)

store = HybridOfflineStore()._get_offline_store_for_feature_view(
feature_views[0], config
)
Expand Down