We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c9a21f commit 1103af7Copy full SHA for 1103af7
sdk/python/feast/infra/materialization/snowflake_engine.py
@@ -285,9 +285,12 @@ def _materialize_one(
285
286
fv_latest_values_sql = offline_job.to_sql()
287
288
- first_feature_view_entity_name = getattr(
289
- feature_view.entity_columns[0], "name", None
290
- )
+ if feature_view.entity_columns:
+ first_feature_view_entity_name = getattr(
+ feature_view.entity_columns[0], "name", None
291
+ )
292
+ else:
293
+ first_feature_view_entity_name = None
294
if (
295
first_feature_view_entity_name == DUMMY_ENTITY_ID
296
): # entityless Feature View's placeholder entity
0 commit comments