HuangZhenQiu commented on code in PR #19805:
URL: https://github.com/apache/hudi/pull/19805#discussion_r3921358652


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/configuration/OptionsResolver.java:
##########
@@ -262,6 +265,16 @@ public static boolean 
isGlobalRecordLevelIndex(Configuration conf) {
     return indexType == HoodieIndex.IndexType.GLOBAL_RECORD_LEVEL_INDEX;
   }
 
+  /**
+   * Returns whether the table uses partitioned record level index served by 
the local RocksDB-based
+   * partitioned index cache, i.e. {@link FlinkOptions#INDEX_RLI_BACKEND_TYPE} 
is configured as {@code rocksdb}.
+   */
+  public static boolean isTimeBoundedRLIBootstrapEnabled(Configuration conf) {
+    return isRecordLevelIndex(conf)

Review Comment:
   In previous comment,  you explicitly called out the INDEX_BOOTSTRAP_ENABLED 
is set to false by default in HoodieTableFactory, and we need to include the 
scenarios into consideration. Otherwise, the feature will be not usable for 
Table API? 
   
   
https://github.com/apache/hudi/blob/master/hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableFactory.java#L496



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