danny0405 commented on code in PR #13591:
URL: https://github.com/apache/hudi/pull/13591#discussion_r2224125540


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieMergeOnReadRDDV2.scala:
##########
@@ -142,6 +142,9 @@ class HoodieMergeOnReadRDDV2(@transient sc: SparkContext,
         val properties = TypedProperties.fromMap(options.asJava)
         properties.setProperty(MAX_MEMORY_FOR_MERGE.key(), 
String.valueOf(maxCompactionMemoryInBytes))
         properties.setProperty(HoodieReaderConfig.MERGE_TYPE.key(), mergeType)
+        if 
(!properties.containsKey(HoodieReaderConfig.ENABLE_OPTIMIZED_LOG_BLOCKS_SCAN.key()))
 {
+          
properties.put(HoodieReaderConfig.ENABLE_OPTIMIZED_LOG_BLOCKS_SCAN.key(), 
HoodieReaderConfig.ENABLE_OPTIMIZED_LOG_BLOCKS_SCAN.defaultValue())

Review Comment:
   we can get rid of this if we have the props fallback fetch.



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