dengzhhu653 commented on code in PR #6089:
URL: https://github.com/apache/hive/pull/6089#discussion_r2375233641
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java:
##########
@@ -1880,14 +1880,8 @@ private List<ColumnStatisticsObj>
columnStatisticsObjForPartitions(
return Batchable.runBatched(batchSize, colNames, new Batchable<String,
ColumnStatisticsObj>() {
@Override
public List<ColumnStatisticsObj> run(final List<String> inputColNames)
throws MetaException {
- return Batchable.runBatched(batchSize, partNames, new
Batchable<String, ColumnStatisticsObj>() {
- @Override
- public List<ColumnStatisticsObj> run(List<String> inputPartNames)
throws MetaException {
- return columnStatisticsObjForPartitionsBatch(catName, dbName,
tableName, inputPartNames,
- inputColNames, engine, areAllPartsFound,
useDensityFunctionForNDVEstimation, ndvTuner,
- enableBitVector, enableKll);
- }
- });
+ return columnStatisticsObjForPartitionsBatch(catName, dbName,
tableName, partNames, inputColNames, engine,
Review Comment:
nit: can we just aggrStatsUseJava directly here and remove the
columnStatisticsObjForPartitionsBatch
--
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]