rbalamohan commented on a change in pull request #1636:
URL: https://github.com/apache/hive/pull/1636#discussion_r520159277
##########
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:
Wouldn't this use the common pool for the JVM and could have issues when
concurrent queries are running? May be better to provide local ForkJoinPool
instead.
----------------------------------------------------------------
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]