You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/06/02 04:40:26 UTC

[iotdb] 01/01: [To rel/0.12][ISSUE-3309] Fix InsertRecordsOfOneDevice runs too slow

This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch issue3309_12
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit df858898d111b3c6aabfe005d12a61a3fd149eaf
Author: HTHou <hh...@outlook.com>
AuthorDate: Wed Jun 2 12:38:39 2021 +0800

    [To rel/0.12][ISSUE-3309] Fix InsertRecordsOfOneDevice runs too slow
---
 .../apache/iotdb/db/qp/physical/crud/InsertRowsOfOneDevicePlan.java    | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertRowsOfOneDevicePlan.java b/server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertRowsOfOneDevicePlan.java
index 8886688..15f667b 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertRowsOfOneDevicePlan.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/physical/crud/InsertRowsOfOneDevicePlan.java
@@ -47,9 +47,6 @@ public class InsertRowsOfOneDevicePlan extends InsertPlan implements BatchPlan {
     this.deviceId = deviceId;
     rowPlans = new InsertRowPlan[insertTimes.length];
     for (int i = 0; i < insertTimes.length; i++) {
-      for (ByteBuffer b : insertValues) {
-        b.toString();
-      }
       rowPlans[i] =
           new InsertRowPlan(
               deviceId,