Github user xuchuanyin commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2706#discussion_r216885885 --- Diff: processing/src/main/java/org/apache/carbondata/processing/loading/sort/unsafe/UnsafeSortDataRows.java --- @@ -326,6 +335,19 @@ private void startFileBasedMerge() throws InterruptedException { dataSorterAndWriterExecutorService.awaitTermination(2, TimeUnit.DAYS); } + public static ByteBuffer ensureArraySize(int requestSize) { --- End diff -- please give a comment that this method is used to increase the rowbuffer during loading.
---