bvaradar commented on a change in pull request #771: fix error:
java.lang.IllegalArgumentException: Can not create a Path from an empty string
URL: https://github.com/apache/incubator-hudi/pull/771#discussion_r299467623
##########
File path:
hoodie-client/src/main/java/com/uber/hoodie/table/HoodieCopyOnWriteTable.java
##########
@@ -340,7 +344,10 @@ protected HoodieMergeHandle getUpdateHandle(String
commitTime, String fileId,
}
return false;
};
- FileStatus[] toBeDeleted = fs.listStatus(new Path(config.getBasePath(),
partitionPath), filter);
+ // FileStatus[] toBeDeleted = fs.listStatus(new Path(config.getBasePath(),
partitionPath), filter);
+ FileStatus[] toBeDeleted = StringUtils.isBlank(partitionPath)
Review comment:
Same here
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services