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 02:35:41 UTC

[iotdb] 01/01: [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
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 8194750bcbcff7e5296bb14063a29625275fb74a
Author: HTHou <hh...@outlook.com>
AuthorDate: Wed Jun 2 10:34:58 2021 +0800

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