Github user kumarvishal09 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1435#discussion_r151446750
--- Diff:
core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java ---
@@ -2119,5 +2127,146 @@ public static String getNewTablePath(Path
carbonTablePath,
return parentPath.toString() + CarbonCommonConstants.FILE_SEPARATOR +
carbonTableIdentifier
.getTableName();
}
+
+ /*
+ * This method will add data size and index size into tablestatus for
each segment
+ */
+ public static void addDataIndexSizeIntoMetaEntry(LoadMetadataDetails
loadMetadataDetails,
+ String segmentId, CarbonTable carbonTable) throws IOException {
+ CarbonTablePath carbonTablePath =
+
CarbonStorePath.getCarbonTablePath((carbonTable.getAbsoluteTableIdentifier()));
+ HashMap<String, Long> dataIndexSize =
--- End diff --
Change it to Map<String,Long>
---