danny0405 commented on a change in pull request #4294:
URL: https://github.com/apache/hudi/pull/4294#discussion_r767494176
##########
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:
Can we add one line comment here:
```java
// in case the partition path was created by another caller.
```
--
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]