shenjiayu17 commented on a change in pull request #3986:
URL: https://github.com/apache/carbondata/pull/3986#discussion_r506020950



##########
File path: 
core/src/main/java/org/apache/carbondata/core/statusmanager/SegmentUpdateStatusManager.java
##########
@@ -455,6 +455,51 @@ public boolean accept(CarbonFile pathName) {
     return null;
   }
 
+  public Map<String, List<CarbonFile>> getDeleteDeltaFilesForSegment(final 
Segment seg) {
+    String segmentPath = CarbonTablePath.getSegmentPath(
+      identifier.getTablePath(), seg.getSegmentNo());
+    CarbonFile segDir = FileFactory.getCarbonFile(segmentPath);
+    CarbonFile[] allDeleteDeltaFilesOfSegment = segDir.listFiles(new 
CarbonFileFilter() {
+      @Override
+      public boolean accept(CarbonFile pathName) {
+        String fileName = pathName.getName();
+        return (pathName.getSize() > 0) &&

Review comment:
       Done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to