trushev commented on code in PR #7113:
URL: https://github.com/apache/hudi/pull/7113#discussion_r1011713031


##########
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:
   Thanks, you are right
   - Added `FileIndex` param in the constructor
   - Replaced `this.filters` with local variable in `applyFilters(filters)`
   - Removed field `List<ResolvedExpression> filters` as no need anymore
   - Reverted `instance(path, conf, rowType, filters)` as no need anymore



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