dengzhhu653 commented on code in PR #6935:
URL: https://github.com/apache/hive/pull/6935#discussion_r4520032867
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/handler/DeprecatedHandler.java:
##########
@@ -1196,16 +1198,13 @@ public final CacheFileMetadataResult
cache_file_metadata(
} else {
throw new MetaException("Table is partitioned");
}
- int batchSize = MetastoreConf.getIntVar(
- conf, MetastoreConf.ConfVars.BATCH_RETRIEVE_OBJECTS_MAX);
- int index = 0;
+ int batchSize = MetastoreConf.getIntVar(conf,
MetastoreConf.ConfVars.BATCH_RETRIEVE_MAX);
Review Comment:
We use BATCH_RETRIEVE_MAX elsewhere for batch fetching, it's preferable to
BATCH_RETRIEVE_OBJECTS_MAX. I think we can remove this property in the future.
--
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]