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

    https://github.com/apache/incubator-carbondata/pull/484#discussion_r94424594
  
    --- Diff: 
integration/spark-common/src/main/java/org/apache/carbondata/spark/load/DeleteLoadFolders.java
 ---
    @@ -60,11 +61,11 @@ private DeleteLoadFolders() {
        * returns segment path
        */
       private static String getSegmentPath(String dbName, String tableName, 
String storeLocation,
    -      int partitionId, LoadMetadataDetails oneLoad) {
    +      LoadMetadataDetails oneLoad) {
         CarbonTablePath carbon = new 
CarbonStorePath(storeLocation).getCarbonTablePath(
             new CarbonTableIdentifier(dbName, tableName, ""));
         String segmentId = oneLoad.getLoadName();
    -    return carbon.getCarbonDataDirectoryPath("" + partitionId, segmentId);
    +    return carbon.getCarbonDataDirectoryPath("" + 0, segmentId);
    --- End diff --
    
    suggest keeping partitionId as input parameter.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to