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_r299468263
##########
File path:
hoodie-common/src/main/java/com/uber/hoodie/common/table/view/AbstractTableFileSystemView.java
##########
@@ -216,7 +218,9 @@ private void ensurePartitionLoadedCorrectly(String
partition) {
log.info("Building file system view for partition (" +
partitionPathStr + ")");
// Create the path if it does not exist already
- Path partitionPath =
FSUtils.getPartitionPath(metaClient.getBasePath(), partitionPathStr);
Review comment:
Isn't FSUtils.getPartitionPath working ? Its better to use the method
consistently in all places wherever we see
new Path(basePath, relativePartitionPath) to make things work for
non-partitioned dataset
----------------------------------------------------------------
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