Github user gvramana commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1435#discussion_r150857833
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/impl/FileFactory.java
---
@@ -606,4 +609,53 @@ public static FileSystem getFileSystem(Path path)
throws IOException {
return path.getFileSystem(configuration);
}
+ // Get the total size of carbon data and the total size of carbon index
+ public static HashMap<String, Long>
getDataSizeAndIndexSize(CarbonTablePath carbonTablePath,
--- End diff --
This method cannot be in FileFactory, as it in not generic filesystem
operation.
---