◐ Shell
clean mode source ↗

Empty response handling in serving api by pradithya · Pull Request #3 · feast-dev/feast

Expand Up @@ -77,14 +77,6 @@ public void queryFeatures(Request request, StreamObserver<Response> responseObse Request validRequest = checkTimestampRange(request); Response response = feast.queryFeatures(validRequest);
if (response.getEntitiesCount() < 1) { responseObserver.onError( new StatusRuntimeException( Status.fromCode(NOT_FOUND) .withDescription("No value is found for the requested feature"))); return; }
innerSpan.log("calling onNext"); responseObserver.onNext(response); innerSpan.log("calling onCompleted"); Expand Down