nihal0107 commented on a change in pull request #3970:
URL: https://github.com/apache/carbondata/pull/3970#discussion_r503759359



##########
File path: 
hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonFileInputFormat.java
##########
@@ -279,7 +279,8 @@ public void 
setAllColumnProjectionIfNotConfigured(JobContext job, CarbonTable ca
   private String[] getDeleteDeltaFiles(String segmentFilePath, List<String> 
allDeleteDeltaFiles) {
     List<String> deleteDeltaFiles = new ArrayList<>();
     String segmentFileName = null;
-    String[] pathElements = 
segmentFilePath.split(Pattern.quote(File.separator));
+    segmentFilePath = segmentFilePath.replace("\\", "/");

Review comment:
       Use WINDOWS_FILE_SEPARATOR and FILE_SEPARATOR at place of string




----------------------------------------------------------------
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