deniskuzZ commented on code in PR #6380:
URL: https://github.com/apache/hive/pull/6380#discussion_r3045329778
##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java:
##########
@@ -514,19 +512,19 @@ private void updateColStats(Set<Integer> projIndxLst,
boolean allowMissingStats)
if (null == partitionList) {
// We could be here either because its an unpartitioned table or because
// there are no pruning predicates on a partitioned table.
- computePartitionList(hiveConf, null, new HashSet<Integer>());
+ computePartitionList(hiveConf, null, new HashSet<>());
}
- String partitionListKey = partitionList.getKey().orElse(null);
Review Comment:
because i removed the redundant optional
--
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]