carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenerlu <>
Subject [GitHub] carbondata pull request #1192: [CARBONDATA-940] alter table add/split partit...
Date Wed, 26 Jul 2017 15:03:06 GMT
Github user chenerlu commented on a diff in the pull request:
    --- Diff: hadoop/src/main/java/org/apache/carbondata/hadoop/ ---
    @@ -440,9 +510,16 @@ protected Expression getFilterPredicates(Configuration configuration)
             for (Map.Entry<SegmentTaskIndexStore.TaskBucketHolder, AbstractIndex> entry
                 segmentIndexMap.entrySet()) {
               SegmentTaskIndexStore.TaskBucketHolder taskHolder = entry.getKey();
    -          int taskId = CarbonTablePath.DataFileUtil.getTaskIdFromTaskNo(taskHolder.taskNo);
    +          int partitionId = CarbonTablePath.DataFileUtil.getTaskIdFromTaskNo(taskHolder.taskNo);
    +          //oldPartitionIdList is only used in alter table partition command because
it change
    +          //partition info first and then read data.
    +          //for other normal query should use newest partitionIdList
    --- End diff --
    use /** */ instead if multi line notes.

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

View raw message