maytasm commented on code in PR #20687:
URL: https://github.com/apache/druid/pull/20687#discussion_r4382037038


##########
server/src/main/java/org/apache/druid/query/lookup/LookupListeningResource.java:
##########
@@ -89,13 +93,21 @@ public Response handleUpdates(InputStream inputStream, 
ObjectMapper mapper)
             }
 
             try {
+              final HttpServletRequest request = requestProvider.get();
+              LookupResourceFilter.filterBulk(
+                  request,
+                  new LookupsState<>(null, state.getToLoad(), 
state.getToDrop())
+              );
               state.getToLoad().forEach(manager::add);
               state.getToDrop().forEach(lookName -> {
                 manager.remove(lookName, 
state.getToLoad().getOrDefault(lookName, null));
               });
 
               return 
Response.status(Response.Status.ACCEPTED).entity(manager.getAllLookupsState()).build();

Review Comment:
   Ah. You did already address it after the first commit.  LGTM. Thanks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to