PrachiKhobragade commented on code in PR #8550:
URL: https://github.com/apache/pinot/pull/8550#discussion_r854419366


##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseBrokerRequestHandler.java:
##########
@@ -363,7 +363,13 @@ private BrokerResponseNative handleSQLRequest(long 
requestId, String query, Json
 
     // Validate the request
     try {
-      validateRequest(pinotQuery, _queryResponseLimit);
+      int numReplicas = 1;
+      if (offlineTableConfig != null) {
+        numReplicas = 
offlineTableConfig.getValidationConfig().getReplicationNumber();
+      } else if (realtimeTableConfig != null) {
+        numReplicas = 
realtimeTableConfig.getValidationConfig().getReplicationNumber();

Review Comment:
   removed this , no longer using numReplicas to check and pass to 
validateRequest



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to