xushiyan commented on code in PR #7914:
URL: https://github.com/apache/hudi/pull/7914#discussion_r1119397979


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/data/HoodieJavaRDD.java:
##########
@@ -81,11 +84,22 @@ public static <K, V> JavaPairRDD<K, V> 
getJavaRDD(HoodiePairData<K, V> hoodieDat
     return ((HoodieJavaPairRDD<K, V>) hoodieData).get();
   }
 
+  @Override
+  public int getId() {
+    return rddData.id();
+  }
+
   @Override
   public void persist(String level) {
     rddData.persist(StorageLevel.fromString(level));
   }
 
+  @Override
+  public void persist(String level, HoodieEngineContext engineContext, 
HoodieDataCacheKey cacheKey) {

Review Comment:
   `persist()` was used when `unpersist()` manually invoked immediately 
afterwards. see e.g. from 
org.apache.hudi.index.bloom.HoodieBloomIndex#tagLocation  added javadoc to the 
interface API to explain the usage



-- 
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]

Reply via email to