danny0405 commented on code in PR #8595:
URL: https://github.com/apache/hudi/pull/8595#discussion_r1181469799
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/FileIndex.java:
##########
@@ -145,7 +149,7 @@ public FileStatus[] getFilesInPartitions() {
return new FileStatus[0];
}
String[] partitions = getOrBuildPartitionPaths().stream().map(p ->
fullPartitionPath(path, p)).toArray(String[]::new);
- FileStatus[] allFiles =
FSUtils.getFilesInPartitions(HoodieFlinkEngineContext.DEFAULT, metadataConfig,
path.toString(), partitions)
+ FileStatus[] allFiles =
FSUtils.getFilesInPartitions(hoodieFlinkEngineContext, metadataConfig,
path.toString(), partitions)
Review Comment:
What kind of hadoop configuration do you wanna to pass around?
--
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]