carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lionelcao <...@git.apache.org>
Subject [GitHub] carbondata pull request #1192: [CARBONDATA-940] alter table add/split partit...
Date Tue, 01 Aug 2017 02:09:35 GMT
Github user lionelcao commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1192#discussion_r130506012
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/util/path/CarbonTablePath.java
---
    @@ -303,6 +303,20 @@ public String getCarbonIndexFilePath(String taskId, String partitionId,
String s
         }
       }
     
    +  public String getCarbonIndexFilePath(String taskId, String partitionId, String segmentId,
    +      int batchNo, String bucketNumber, String timeStamp,
    +      ColumnarFormatVersion columnarFormatVersion) {
    +    switch (columnarFormatVersion) {
    +      case V1:
    +      case V2:
    +        return getCarbonIndexFilePath(taskId, partitionId, segmentId, bucketNumber);
    +      default:
    --- End diff --
    
    V3 will go as default, this function is not created by myself, just added batchNo based
on original one to get correct index path.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message