[GitHub] [carbondata] ajantha-bhat commented on a change in pull request #4001: [CARBONDATA-4029] [CARBONDATA-3908] Issue while adding segments through alter add segment command
Posted by
GitBox on
Dec 03, 2020; 5:35am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-akkio-97-opened-a-new-pull-request-4001-WIP-tp103064p104113.html
ajantha-bhat commented on a change in pull request #4001:
URL:
https://github.com/apache/carbondata/pull/4001#discussion_r534681054##########
File path: core/src/main/java/org/apache/carbondata/core/metadata/SegmentFileStore.java
##########
@@ -877,6 +877,10 @@ public SegmentFile getSegmentFile() {
}
if (entry.getValue().status.equals(SegmentStatus.SUCCESS.getMessage())) {
String mergeFileName = entry.getValue().getMergeFileName();
+ // remove file separator if already present
Review comment:
if the user is putting "/", while storing itself, can we remove that and store it, instead of skipping here ? because some other place if the stored value is used. again same code has to be there also
----------------------------------------------------------------
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]