prashantwason commented on a change in pull request #3873:
URL: https://github.com/apache/hudi/pull/3873#discussion_r748692780
##########
File path: hudi-common/src/main/java/org/apache/hudi/common/data/HoodieList.java
##########
@@ -132,6 +132,14 @@ public long count() {
return HoodieList.of(new ArrayList<>(new HashSet<>(listData)));
}
+ @Override
+ public HoodieData<T> union(HoodieData<T> other) {
+ List<T> unionResult = new ArrayList<>();
Review comment:
small perf improvement if the size is initialized to the sum of the two
lists.
--
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]