Github user scwf commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1912#discussion_r165809798
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/util/path/CarbonTablePath.java ---
    @@ -75,7 +75,7 @@ public CarbonTablePath(CarbonTableIdentifier 
carbonTableIdentifier, String table
        * @param carbonFilePath
        */
       public static String getFolderContainingFile(String carbonFilePath) {
    -    return carbonFilePath.substring(0, 
carbonFilePath.lastIndexOf(File.separator));
    +    return carbonFilePath.substring(0, carbonFilePath.lastIndexOf('/'));
    --- End diff --
    
    why this change?


---

Reply via email to