abstractdog commented on code in PR #6344:
URL: https://github.com/apache/hive/pull/6344#discussion_r2883178760
##########
ql/src/java/org/apache/hadoop/hive/ql/plan/MapWork.java:
##########
@@ -364,20 +364,46 @@ public void internTable(Interner<TableDesc> interner) {
}
}
- /**
- * @return the aliasToPartnInfo
- */
- public Map<String, PartitionDesc> getAliasToPartnInfo() {
- return aliasToPartnInfo;
+ public Collection<PartitionDesc> getPartitionDescs() {
Review Comment:
this method is now used for iterating: is it possible to return an iterator
instead of copying the whole collection? unfortunately, copying it can be
costly, and we could never now how heavily use that now or 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]