danny0405 commented on code in PR #9158:
URL: https://github.com/apache/hudi/pull/9158#discussion_r1260483097
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/common/HoodieSparkEngineContext.java:
##########
@@ -207,15 +206,15 @@ public void putCachedDataIds(HoodieDataCacheKey cacheKey,
int... ids) {
@Override
public List<Integer> getCachedDataIds(HoodieDataCacheKey cacheKey) {
synchronized (cachedRddIds) {
- return cachedRddIds.getOrDefault(cacheKey, Collections.emptyList());
+ return cachedRddIds.getOrDefault(cacheKey, new ArrayList<>());
Review Comment:
why this change
--
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]