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


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/HoodieSource.java:
##########
@@ -154,6 +154,7 @@ private SplitEnumerator<HoodieSourceSplit, 
HoodieSplitEnumeratorState> createEnu
             
.maxCompactionMemoryInBytes(scanContext.getMaxCompactionMemoryInBytes())
             .skipCompaction(scanContext.skipCompaction())
             .skipClustering(scanContext.skipClustering())
+            .partitionPruner(scanContext.partitionPruner())

Review Comment:
   I see. I will add the query type logic in the HoodieSource batch read. How 
can make HoodieFileGroupReader to read from base file only? For example, 
QUERY_TYPE_SNAPSHOT (COPY_ON_WRITE), QUERY_TYPE_READ_OPTIMIZED, I just need to 
use HoodieFileGroupReader to read parquet files.



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