Github user sraghunandan commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2313#discussion_r189246853 --- Diff: core/src/main/java/org/apache/carbondata/core/dictionary/generator/IncrementalColumnDictionaryGenerator.java --- @@ -89,15 +89,19 @@ public IncrementalColumnDictionaryGenerator(CarbonDimension dimension, int maxVa } @Override public Integer getKey(String value) { - return incrementalCache.get(value); + synchronized (lock) { --- End diff -- fixed
---