Skip to content

Commit 2049f0a

Browse files
Ly CaoLy Cao
authored andcommitted
accidentally removed entity from request
1 parent 9c78a80 commit 2049f0a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

go/feast/featurestore.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,9 @@ func (fs *FeatureStore) validateFeatureRefs(featureRefs []string, fullFeatureNam
445445
collidedFeatureRefs[featureRef] += 1
446446
if collidedFeatureRefs[featureRef] > 1 {
447447
return errors.New(fmt.Sprintf("Collided FeatureRef detected: %s, %v", featureRef, featureRefs))
448+
// return errors.New("To resolve this collision, please ensure that the feature views or their own features "+
449+
// "have different names. If you're intentionally joining the same feature view twice on "+
450+
// "different sets of entities, please rename one of the feature views with '.with_name'.")
448451
}
449452
}
450453
} else {
@@ -465,6 +468,8 @@ func (fs *FeatureStore) validateFeatureRefs(featureRefs []string, fullFeatureNam
465468

466469
if collidedFeatureRefs[featureName] > 1 {
467470
return errors.New(fmt.Sprintf("Collided FeatureName detected: %s, %v", featureName, featureRefs))
471+
// return errors.New("To resolve this collision, either use the full feature name by setting "+
472+
// "'full_feature_names=True', or ensure that the features in question have different names.")
468473
}
469474
}
470475
}

sdk/python/feast/go_server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def get_online_features(
4646
errors.InvalidFeaturesParameterType(features)
4747

4848
# print("GoServer get_online_features")
49-
# for key, values in entities.items():
50-
# print(key)
51-
# request.entities[key].val.extend(python_values_to_proto_values(values))
49+
for key, values in entities.items():
50+
# print(key)
51+
request.entities[key].val.extend(python_values_to_proto_values(values))
5252
# print("==============")
5353

5454
try:

0 commit comments

Comments
 (0)