danny0405 commented on a change in pull request #2900:
URL: https://github.com/apache/hudi/pull/2900#discussion_r623568631



##########
File path: hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableSource.java
##########
@@ -180,7 +180,11 @@ public boolean isBounded() {
         if (conf.getBoolean(FlinkOptions.READ_AS_STREAMING)) {
           StreamReadMonitoringFunction monitoringFunction = new 
StreamReadMonitoringFunction(
               conf, FilePathUtils.toFlinkPath(path), metaClient, 
maxCompactionMemoryInBytes);
-          OneInputStreamOperatorFactory<MergeOnReadInputSplit, RowData> 
factory = StreamReadOperator.factory((MergeOnReadInputFormat) 
getInputFormat(true));
+          InputFormat<RowData, ?> inputFormat = getInputFormat(true);

Review comment:
       You can add a IT in `HoodieDataSourceITCase`.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to