Github user anubhav100 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1719#discussion_r158507995
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/block/TableBlockInfo.java
---
@@ -113,10 +120,29 @@ public TableBlockInfo() {
public TableBlockInfo(String filePath, long blockOffset, String
segmentId, String[] locations,
long blockLength, BlockletInfos blockletInfos, ColumnarFormatVersion
version,
String[] deletedDeltaFilePath) {
- this(filePath, blockOffset, segmentId, locations, blockLength,
version, deletedDeltaFilePath);
+ this(filePath, blockOffset, segmentId, locations, blockLength, version,
+ deletedDeltaFilePath);
this.blockletInfos = blockletInfos;
}
+ /**
+ * constructor to initialize the TbaleBlockInfo with blockletIds
+ *
+ * @param filePath
+ * @param blockOffset
+ * @param segmentId
+ * @param locations
+ * @param blockLength
+ * @param blockletInfos
+ */
+ public TableBlockInfo(String filePath, String blockletIds, long
blockOffset, String segmentId,
--- End diff --
corrected
---