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


##########
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 only see the usage for batch queries, what about the streaming query? BTW, 
even for batch query, we support different query mode `QUERY_TYPE_SNAPSHOT`, 
`QUERY_TYPE_READ_OPTIMIZED`, `QUERY_TYPE_INCREMENTAL`: , can reference the 
`HoodieTableSource#getBatchInputFormat` for more details.
   
   `IncrementalInputSplits` should be only used for `QUERY_TYPE_INCREMENTAL`.



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