You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by su...@apache.org on 2020/05/30 08:24:42 UTC
[incubator-iotdb] 01/01: Set inferType of mqtt Insertplan to true
This is an automated email from the ASF dual-hosted git repository.
sunzesong pushed a commit to branch mqtt_insert_plan
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 4ae59fe78c2ba4d312fbd4a2d375a84631613ada
Author: samperson1997 <sz...@mails.tsinghua.edu.cn>
AuthorDate: Sat May 30 16:24:13 2020 +0800
Set inferType of mqtt Insertplan to true
---
server/src/main/java/org/apache/iotdb/db/mqtt/PublishHandler.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/mqtt/PublishHandler.java b/server/src/main/java/org/apache/iotdb/db/mqtt/PublishHandler.java
index 4020901..3248df7 100644
--- a/server/src/main/java/org/apache/iotdb/db/mqtt/PublishHandler.java
+++ b/server/src/main/java/org/apache/iotdb/db/mqtt/PublishHandler.java
@@ -90,6 +90,7 @@ public class PublishHandler extends AbstractInterceptHandler {
plan.setTime(event.getTimestamp());
plan.setMeasurements(event.getMeasurements().toArray(new String[event.getMeasurements().size()]));
plan.setValues(event.getValues().toArray(new String[event.getValues().size()]));
+ plan.setInferType(true);
boolean status;
try {