1
0

Fixing bugs found during running hoodie demo (#760)

This commit is contained in:
Balaji Varadarajan
2019-06-28 17:49:23 -07:00
committed by vinoth chandar
parent e48e35385a
commit 9f18a1ca80
3 changed files with 29 additions and 7 deletions

View File

@@ -216,7 +216,7 @@ public abstract class AbstractTableFileSystemView implements SyncableFileSystemV
log.info("Building file system view for partition (" + partitionPathStr + ")");
// Create the path if it does not exist already
Path partitionPath = new Path(metaClient.getBasePath(), partitionPathStr);
Path partitionPath = FSUtils.getPartitionPath(metaClient.getBasePath(), partitionPathStr);
FSUtils.createPathIfNotExists(metaClient.getFs(), partitionPath);
long beginLsTs = System.currentTimeMillis();
FileStatus[] statuses = metaClient.getFs().listStatus(partitionPath);