You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/08/31 04:13:00 UTC

[GitHub] [incubator-iotdb] wyh-ztf commented on a change in pull request #1662: IOTDB-837:ArrayIndexOutOfBoundsException if the measurementId size is not consistent with the value size

wyh-ztf commented on a change in pull request #1662:
URL: https://github.com/apache/incubator-iotdb/pull/1662#discussion_r479878422



##########
File path: server/src/main/java/org/apache/iotdb/db/qp/strategy/PhysicalGenerator.java
##########
@@ -176,6 +176,13 @@ public PhysicalPlan transformToPhysicalPlan(Operator operator) throws QueryProce
               "For Insert command, cannot specified more than one seriesPath: " + paths);
         }
 
+        if (insert.getMeasurementList().length != insert.getValueList().length) {
+          throw new ArrayIndexOutOfBoundsException(

Review comment:
       Thank you for your opinion. I will revise it




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