Github user Indhumathi27 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2349#discussion_r191333564
--- Diff:
core/src/main/java/org/apache/carbondata/core/scan/complextypes/PrimitiveQueryType.java
---
@@ -95,7 +95,7 @@ public PrimitiveQueryType(String name, String parentname,
int blockIndex,
DimensionRawColumnChunk[] rawColumnChunks, int rowNumber,
int pageNumber, DataOutputStream dataOutputStream) throws
IOException {
byte[] currentVal = copyBlockDataChunk(rawColumnChunks, rowNumber,
pageNumber);
- if (!this.isDictionary) {
+ if (!this.isDictionary && !this.isDirectDictionary) {
--- End diff --
okay
---