Github user manishgupta88 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2841#discussion_r227235905
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/chunk/impl/DimensionRawColumnChunk.java
 ---
    @@ -168,13 +169,16 @@ public CarbonDictionary getLocalDictionary() {
        */
       public static CarbonDictionary getDictionary(LocalDictionaryChunk 
localDictionaryChunk,
           Compressor compressor) throws IOException, MemoryException {
    +    boolean isUnsafe = Boolean.parseBoolean(CarbonProperties.getInstance()
    +        
.getProperty(CarbonCommonConstants.ENABLE_UNSAFE_IN_QUERY_EXECUTION,
    +            
CarbonCommonConstants.ENABLE_UNSAFE_IN_QUERY_EXECUTION_DEFAULTVALUE));
    --- End diff --
    
    Move this flag inside if null check loop


---

Reply via email to