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

    https://github.com/apache/carbondata/pull/2134#discussion_r179416485
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/indexstore/UnsafeMemoryDMStore.java
 ---
    @@ -52,11 +62,23 @@
     
       private final long taskId = 
ThreadLocalTaskInfo.getCarbonTaskInfo().getTaskId();
     
    -  public UnsafeMemoryDMStore(CarbonRowSchema[] schema) throws 
MemoryException {
    +  private boolean addRowToUnsafe = true;
    --- End diff --
    
    This variable is to decide whether to write row by row to unsafe or to 
collect all rows and then write all to unsafe.


---

Reply via email to