danny0405 commented on code in PR #7113:
URL: https://github.com/apache/hudi/pull/7113#discussion_r1011488715
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/FileIndex.java:
##########
@@ -80,6 +80,12 @@ public static FileIndex instance(Path path, Configuration
conf, RowType rowType)
return new FileIndex(path, conf, rowType);
}
+ public static FileIndex instance(Path path, Configuration conf, RowType
rowType, List<ResolvedExpression> filters) {
+ FileIndex fileIndex = instance(path, conf, rowType);
Review Comment:
And another solution is we add a `FileIndex` param in the constructor so
that there is no need to re-construct it again and again.
--
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]