diff --git a/serving/src/main/java/feast/serving/specs/CachedSpecService.java b/serving/src/main/java/feast/serving/specs/CachedSpecService.java index 040a870ffe..1184f6da95 100644 --- a/serving/src/main/java/feast/serving/specs/CachedSpecService.java +++ b/serving/src/main/java/feast/serving/specs/CachedSpecService.java @@ -49,7 +49,6 @@ import java.util.concurrent.ExecutionException; import java.util.stream.Collectors; import org.apache.commons.lang3.tuple.Pair; -import org.apache.commons.lang3.tuple.Triple; import org.slf4j.Logger; /** In-memory cache of specs. */ @@ -199,8 +198,8 @@ private Map getFeatureToFeatureSetMapping( .collect( groupingBy( featureSet -> - Triple.of( - featureSet.getProject(), featureSet.getName(), featureSet.getVersion()))) + Pair.of( + featureSet.getProject(), featureSet.getName()))) .forEach( (group, groupedFeatureSets) -> { groupedFeatureSets =