carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kunal642 <>
Subject [GitHub] incubator-carbondata pull request #724: [CARBONDATA-847] Fixed NullPointerEx...
Date Wed, 05 Apr 2017 08:54:27 GMT
Github user kunal642 commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/collector/impl/
    @@ -51,8 +51,8 @@
       public DictionaryBasedVectorResultCollector(BlockExecutionInfo blockExecutionInfos)
    -    queryDimensions = tableBlockExecutionInfos.getQueryDimensions();
    -    queryMeasures = tableBlockExecutionInfos.getQueryMeasures();
    +    queryDimensions = tableBlockExecutionInfos.getActualQueryDimensions();
    --- End diff --
    getQueryDimensions or getQueryMeasures does not contain the newly added columns so when
we try to get the vector from allColumnInfo which has the size [measures + dimensions] we
would get a ArrayIndexOutOfBoundException because it will not have the space for the new column.

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