Skip to content

Commit 3c7812b

Browse files
handling snowflake issue, cant confirm why it is happening so just going to put a workaround
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent fcf2917 commit 3c7812b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sdk/python/feast/infra/materialization/snowflake_engine.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,9 @@ def _materialize_one(
285285

286286
fv_latest_values_sql = offline_job.to_sql()
287287

288-
print(f'this is for fja {feature_view}')
289-
print(f'\nthis is for fja 2 {feature_view.entity_columns}')
288+
first_feature_view_entity_name = getattr(feature_view.entity_columns[0], "name", None)
290289
if (
291-
feature_view.entity_columns[0].name == DUMMY_ENTITY_ID
290+
first_feature_view_entity_name == DUMMY_ENTITY_ID
292291
): # entityless Feature View's placeholder entity
293292
entities_to_write = 1
294293
else:

0 commit comments

Comments
 (0)