Github user sounakr commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2209#discussion_r184927388 --- Diff: core/src/main/java/org/apache/carbondata/core/scan/complextypes/PrimitiveQueryType.java --- @@ -53,6 +55,21 @@ public PrimitiveQueryType(String name, String parentname, int blockIndex, this.name = name; this.parentname = parentname; this.isDirectDictionary = isDirectDictionary; + this.isDictionary = true; + } + + + public PrimitiveQueryType(String name, String parentname, int blockIndex, --- End diff -- Done. But we need the parameter as dictionary field is always set.
---