Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2447#discussion_r200363116
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/DimensionRawColumnChunk.java
---
@@ -126,4 +129,12 @@ public void setFileReader(FileReader fileReader) {
public FileReader getFileReader() {
return fileReader;
}
+
+ public CarbonDictionary getLocalDictionary() {
+ return localDictionary;
+ }
+
+ public void setLocalDictionary(CarbonDictionary localDictionary) {
--- End diff --
Remove setter and use the only getter. Inside getter check null and
uncompress it for first time read.
---