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

    https://github.com/apache/carbondata/pull/2362#discussion_r193056910
  
    --- Diff: 
hadoop/src/main/java/org/apache/carbondata/hadoop/CarbonRecordReader.java ---
    @@ -126,6 +126,7 @@ public void initialize(InputSplit inputSplit, 
TaskAttemptContext context)
         
DataMapStoreManager.getInstance().getDefaultDataMap(queryModel.getTable()).clear();
         // close read support
         readSupport.close();
    +    carbonIterator = null;
    --- End diff --
    
    Is this required as GC will take care of this ??


---

Reply via email to