wshao08 commented on a change in pull request #1750:
URL: https://github.com/apache/incubator-iotdb/pull/1750#discussion_r495662747



##########
File path: session/src/main/java/org/apache/iotdb/session/SessionDataSet.java
##########
@@ -129,10 +129,8 @@ private RowRecord constructRowRecordFromValueArray() 
throws StatementExecutionEx
 
 
   public RowRecord next() throws StatementExecutionException, 
IoTDBConnectionException {
-    if (!ioTDBRpcDataSet.hasCachedRecord) {
-      if (!hasNext()) {
+    if (!ioTDBRpcDataSet.hasCachedRecord && !hasNext()) {
         return null;

Review comment:
       set indentation to 2




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to