@@ -162,13 +162,8 @@ def update_feature_views_with_inferred_features_and_entities(
162162
163163 # Infer a dummy entity column for entityless feature views.
164164 if (
165- < << << << HEAD
166165 len (fv_entities ) == 1
167166 and fv_entities [0 ] == DUMMY_ENTITY_NAME
168- == == == =
169- len (fv .entities ) == 1
170- and fv .entities [0 ] == DUMMY_ENTITY_NAME
171- >> >> >> > 743 ae513 (storing current progress ...things are getting overriden in the _infer_features_and_entities () method in FeatureStore ...that is another thing we have to chnage )
172167 and not entity_columns
173168 ):
174169 entity_columns .append (Field (name = DUMMY_ENTITY_ID , dtype = String ))
@@ -210,15 +205,12 @@ def _infer_features_and_entities(
210205 run_inference_for_features: Whether to run inference for features.
211206 config: The config for the current feature store.
212207 """
213- < << << << HEAD
214208 if isinstance (fv , OnDemandFeatureView ):
215209 return _infer_on_demand_features_and_entities (
216210 fv , join_keys , run_inference_for_features , config
217211 )
218212
219- == == == =
220213 entity_columns = []
221- > >> >> >> 743 ae513 (storing current progress ...things are getting overriden in the _infer_features_and_entities () method in FeatureStore ...that is another thing we have to chnage )
222214 columns_to_exclude = {
223215 fv .batch_source .timestamp_field ,
224216 fv .batch_source .created_timestamp_column ,
@@ -266,7 +258,6 @@ def _infer_features_and_entities(
266258 if field .name not in [feature .name for feature in fv .features ]:
267259 fv .features .append (field )
268260
269- < << << << HEAD
270261
271262def _infer_on_demand_features_and_entities (
272263 fv : OnDemandFeatureView ,
@@ -342,6 +333,4 @@ def _infer_on_demand_features_and_entities(
342333 feature .name for feature in source_feature_view .features
343334 ]:
344335 source_feature_view .features .append (field )
345- == == == =
346- >> >> >> > 743 ae513 (storing current progress ...things are getting overriden in the _infer_features_and_entities () method in FeatureStore ...that is another thing we have to chnage )
347336 fv .entity_columns = entity_columns
0 commit comments