Github user sv71294 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2412#discussion_r199067892
--- Diff:
integration/presto/src/main/java/org/apache/carbondata/presto/CarbondataPageSource.java
---
@@ -108,22 +96,16 @@ public
CarbondataPageSource(CarbonDictionaryDecodeReadSupport readSupport,
return null;
}
- Block[] blocks = new Block[types.size()];
+ Block[] blocks = new Block[columnHandles.size()];
for (int column = 0; column < blocks.length; column++) {
- Type type = types.get(column);
--- End diff --
readers are removed from this class, handled in CarbonVectorBatch
---