Github user ajantha-bhat commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2816#discussion_r228221442
--- Diff:
store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReader.java ---
@@ -90,6 +91,18 @@ public T readNextRow() throws IOException,
InterruptedException {
return currentReader.getCurrentValue();
}
+ /**
+ * Read and return next batch row objects
+ */
+ public Object[] readNextBatchRow(int batch) throws Exception {
--- End diff --
Why do we need to pass batch size here ? It should return batch same as set
from withBatch(int) ??
---