Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2678#discussion_r214616899
--- Diff:
core/src/main/java/org/apache/carbondata/core/indexstore/blockletindex/SegmentIndexFileStore.java
---
@@ -354,6 +364,22 @@ private MergedBlockIndex
readMergeBlockIndex(ThriftReader thriftReader) throws I
});
}
+ /**
+ * List all the index files of the segment.
+ *
+ * @param segmentPath
+ * @return
+ */
+ public static CarbonFile[] getCarbonIndexFiles(String segmentPath,
Configuration configuration) {
--- End diff --
Not required another method use an existing method to pass `configuration`
---