Github user kunal642 commented on a diff in the pull request:
https://github.com/apache/incubator-carbondata/pull/724#discussion_r109861944
--- Diff:
core/src/main/java/org/apache/carbondata/core/scan/collector/impl/DictionaryBasedVectorResultCollector.java
---
@@ -51,8 +51,8 @@
public DictionaryBasedVectorResultCollector(BlockExecutionInfo
blockExecutionInfos) {
super(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 [email protected] or file a JIRA ticket
with INFRA.
---