JackieTien97 commented on a change in pull request #821: [IOTDB-298]Last 
time-value query
URL: https://github.com/apache/incubator-iotdb/pull/821#discussion_r380538229
 
 

 ##########
 File path: 
server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
 ##########
 @@ -772,8 +767,9 @@ private void checkPathExists(MNode node, String fullPath, 
MeasurementSchema sche
                   measurementNode.getSchema().getType()));
         }
       }
-      return storageEngine.insertBatch(batchInsertPlan);
-
+      Integer[] results = storageEngine.insertBatch(batchInsertPlan);
+      batchInsertPlan.updateMNodeLastValues(node);
 
 Review comment:
   The same as before

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to