[GitHub] [carbondata] Karan980 commented on a change in pull request #4048: [CARBONDATA-4072] Clean files command is not deleting .segment files for the segments added through alter table add segment query.
Posted by
GitBox on
Dec 15, 2020; 6:57am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-Karan980-opened-a-new-pull-request-4048-CARBONDATA-4072-Clean-files-command-is-not-tp104556p104733.html
Karan980 commented on a change in pull request #4048:
URL:
https://github.com/apache/carbondata/pull/4048#discussion_r543092185##########
File path: core/src/main/java/org/apache/carbondata/core/util/path/CarbonTablePath.java
##########
@@ -597,6 +599,27 @@ public static String getSegmentIdFromPath(String dataFileAbsolutePath) {
}
}
+ /**
Review comment:
If i write this logic of getting segmentFileName from segmentFile absolute path in test code, then i have to repeat the same code in both the testCases as i need segmentFileName in both testCases. Its better to write a method for it and call it to avoid repetition.
----------------------------------------------------------------
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:
[hidden email]