jackylk commented on a change in pull request #3273:
URL:
https://github.com/apache/carbondata/pull/3273#discussion_r417718090##########
File path: sdk/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReader.java
##########
@@ -87,9 +91,13 @@ public boolean hasNext() throws IOException, InterruptedException {
readers.set(index, null);
index++;
currentReader = readers.get(index);
- return currentReader.nextKeyValue();
+ boolean result = currentReader.nextKeyValue();
Review comment:
why not use currentReader.hasNext()?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]