jt2594838 commented on a change in pull request #1326:
URL: https://github.com/apache/incubator-iotdb/pull/1326#discussion_r448216008



##########
File path: 
server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertPlan.java
##########
@@ -301,9 +296,14 @@ public void serialize(DataOutputStream stream) throws 
IOException {
 
   private void putValues(DataOutputStream outputStream) throws 
QueryProcessException, IOException {
     for (int i = 0; i < values.length; i++) {
-      if (types[i] == null) {
+      // types are not determined, the situation mainly occurs when the plan 
uses string values
+      // and is forwarded to other nodes
+      if (types == null || types[i] == null) {
+        ReadWriteIOUtils.write((short) -1, outputStream);

Review comment:
       done




----------------------------------------------------------------
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