/** * Below method will be used to get all the delete delta files based on block name * * @param blockFilePath actual block filePath * @return all delete delta files * @throws Exception */ public String[] getDeleteDeltaFilePath(String blockFilePath, String segmentId) throws Exception { String blockId = CarbonUtil.getBlockId(identifier, blockFilePath, segmentId, true, isStandardTable); String tupleId; if (!isStandardTable) { tupleId = CarbonTablePath.getShortBlockIdForPartitionTable(blockId); } else { tupleId = CarbonTablePath.getShortBlockId(blockId); } return getDeltaFiles(tupleId, CarbonCommonConstants.DELETE_DELTA_FILE_EXT) .toArray(new String[0]); }
return getDeltaFiles(file, blockNameFromTuple, extension, segment);