chinnaraolalam commented on code in PR #4881:
URL: https://github.com/apache/hive/pull/4881#discussion_r1411554373


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java:
##########
@@ -278,7 +278,7 @@ void checkTable(String catName, String dbName, String 
tableName, byte[] filterEx
         request.setCatName(table.getCatName());
         int batchSize = MetastoreConf.getIntVar(conf, 
MetastoreConf.ConfVars.BATCH_RETRIEVE_MAX);
         if (batchSize > 0) {
-          parts = new PartitionIterable(getMsc(), table, 
batchSize).withProjectSpec(request);
+          parts = new PartitionIterable(getMsc(), table, batchSize, 
conf).withProjectSpec(request);

Review Comment:
   validate batch size here only.



-- 
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