nsivabalan commented on a change in pull request #4294:
URL: https://github.com/apache/hudi/pull/4294#discussion_r768043530
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java
##########
@@ -336,9 +336,10 @@ private void ensurePartitionLoadedCorrectly(String
partition) {
if (!metaClient.getFs().exists(partitionPath)) {
metaClient.getFs().mkdirs(partitionPath);
return new FileStatus[0];
+ } else {
+ return metaClient.getFs().listStatus(partitionPath);
Review comment:
Also, you may want to add the fix to
https://github.com/apache/hudi/blob/46de25d5fd7fc5aedc574fc6bb76e14efb46bb37/hudi-common/src/main/java/org/apache/hudi/common/fs/FSUtils.java#L472
as well.
--
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]