carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvramana <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #641: [CARBONDATA-767] Alter table support...
Date Tue, 14 Mar 2017 13:33:28 GMT
Github user gvramana commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/641#discussion_r105883296
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/executor/impl/AbstractQueryExecutor.java
---
    @@ -353,12 +312,15 @@ protected BlockExecutionInfo getBlockExecutionInfoForBlock(QueryModel
queryModel
         } else {
           blockExecutionInfo.setAllSelectedDimensionBlocksIndexes(new int[0][0]);
         }
    +    // get the list of updated filter measures present in the current block
    +    Set<CarbonMeasure> updatedFilterMeasures = QueryUtil
    +        .getUpdatedFilterMeasures(queryProperties.filterMeasures, segmentProperties.getMeasures());
         // list of measures to be projected
    -    List<Integer> allProjectionListMeasureIdexes = new ArrayList<>();
    +    List<Integer> allProjectionListMeasureIndexes = new ArrayList<>();
         int[] measureBlockIndexes = QueryUtil
    -        .getMeasureBlockIndexes(queryModel.getQueryMeasures(), expressionMeasures,
    -            segmentProperties.getMeasuresOrdinalToBlockMapping(), queryProperties.filterMeasures,
    -            allProjectionListMeasureIdexes);
    +        .getMeasureBlockIndexes(updatedQueryMeasures, expressionMeasures,
    --- End diff --
    
    Change name to currentBlockMeasures and Dimentions


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