yihua commented on code in PR #3769:
URL: https://github.com/apache/hudi/pull/3769#discussion_r2249040609
##########
hudi-common/src/main/java/org/apache/hudi/common/table/view/AbstractTableFileSystemView.java:
##########
@@ -317,7 +315,13 @@ private void ensurePartitionLoadedCorrectly(String
partition) {
* @throws IOException
*/
protected FileStatus[] listPartition(Path partitionPath) throws IOException {
- return metaClient.getFs().listStatus(partitionPath);
+ // Create the path if it does not exist already
+ if (!metaClient.getFs().exists(partitionPath)) {
+ metaClient.getFs().mkdirs(partitionPath);
Review Comment:
Fixed by #11250
--
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]