vineetgarg02 commented on a change in pull request #1636:
URL: https://github.com/apache/hive/pull/1636#discussion_r526471587
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java
##########
@@ -316,12 +319,11 @@ private static Statistics collectStatistics(HiveConf
conf, PrunedPartitionList p
basicStatsFactory.addEnhancer(new
BasicStats.RowNumEstimator(estimateRowSizeFromSchema(conf, schema)));
- List<BasicStats> partStats = new ArrayList<>();
+ List<BasicStats> partStats =
+ partList.getNotDeniedPartns().parallelStream().
Review comment:
@rbalamohan It seems parallel stream by default uses ForkJoinPool
(citing Java in Action book)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]