|
6 | 6 | import static java.util.Objects.isNull; |
7 | 7 | import static java.util.stream.Collectors.joining; |
8 | 8 | import static java.util.stream.Collectors.toUnmodifiableList; |
9 | | -import static org.hypertrace.core.documentstore.expression.operators.RelationalOperator.EQ; |
10 | 9 | import static org.hypertrace.core.documentstore.expression.operators.RelationalOperator.IN; |
11 | 10 | import static org.hypertrace.core.documentstore.model.options.ReturnDocumentType.NONE; |
12 | 11 | import static org.hypertrace.entity.data.service.v1.AttributeValue.VALUE_LIST_FIELD_NUMBER; |
@@ -344,10 +343,7 @@ public void update(EntityUpdateRequest request, StreamObserver<ResultSetChunk> r |
344 | 343 | // Finally, return the selections |
345 | 344 | List<Document> documents = |
346 | 345 | getProjectedDocuments( |
347 | | - maybeTenantId.get(), |
348 | | - request.getEntityIdsList(), |
349 | | - request.getSelectionList(), |
350 | | - requestContext); |
| 346 | + request.getEntityIdsList(), request.getSelectionList(), requestContext); |
351 | 347 |
|
352 | 348 | responseObserver.onNext( |
353 | 349 | convertDocumentsToResultSetChunk(documents, request.getSelectionList())); |
@@ -536,7 +532,6 @@ private JSONDocument convertToJsonDocument(LiteralConstant literalConstant) { |
536 | 532 | } |
537 | 533 |
|
538 | 534 | private List<Document> getProjectedDocuments( |
539 | | - final String tenantId, |
540 | 535 | final Iterable<String> entityIds, |
541 | 536 | final List<Expression> selectionList, |
542 | 537 | final RequestContext requestContext) |
|
0 commit comments