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 2022/09/27 11:47:37 UTC

[iotdb] branch iotdb-4542 updated (0b18e99e63 -> 304d302381)

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

haonan pushed a change to branch iotdb-4542
in repository https://gitbox.apache.org/repos/asf/iotdb.git


    from 0b18e99e63 [IOTDB-4542] Optimize data type mismatch error message
     add 251b89dfa4 Make the transferLeader api available for MultiLeaderConsensus (#7449)
     add f316522ff7 [IOTDB-4543] Fix error in calculating time partition slot (#7443)
     new 304d302381 [IOTDB-4542] Optimize data type mismatch error message

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../multileader/MultiLeaderConsensus.java          | 18 ++++++++++++++++--
 .../iotdb/db/conf/rest/IoTDBRestServiceConfig.java |  2 +-
 .../apache/iotdb/db/engine/StorageEngineV2.java    | 19 ++-----------------
 .../iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java  |  3 +--
 .../planner/plan/node/write/InsertTabletNode.java  | 22 ++++++++++------------
 .../plan/statement/crud/InsertTabletStatement.java | 14 +++++---------
 .../apache/iotdb/db/utils/TimePartitionUtils.java  | 21 +++++++++++++++++++--
 .../plan/node/write/WritePlanNodeSplitTest.java    |  9 +++------
 8 files changed, 57 insertions(+), 51 deletions(-)


[iotdb] 01/01: [IOTDB-4542] Optimize data type mismatch error message

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 304d302381c1897498b4e157b64aea994bb16bd5
Merge: 0b18e99e63 f316522ff7
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Sep 27 19:47:25 2022 +0800

    [IOTDB-4542] Optimize data type mismatch error message

 .../multileader/MultiLeaderConsensus.java          | 18 ++++++++++++++++--
 .../iotdb/db/conf/rest/IoTDBRestServiceConfig.java |  2 +-
 .../apache/iotdb/db/engine/StorageEngineV2.java    | 19 ++-----------------
 .../iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java  |  3 +--
 .../planner/plan/node/write/InsertTabletNode.java  | 22 ++++++++++------------
 .../plan/statement/crud/InsertTabletStatement.java | 14 +++++---------
 .../apache/iotdb/db/utils/TimePartitionUtils.java  | 21 +++++++++++++++++++--
 .../plan/node/write/WritePlanNodeSplitTest.java    |  9 +++------
 8 files changed, 57 insertions(+), 51 deletions(-)

diff --cc server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/write/InsertTabletNode.java
index ac84f71e0d,76d0cc7458..78dc4ed767
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/write/InsertTabletNode.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/plan/node/write/InsertTabletNode.java
@@@ -21,12 -21,8 +21,10 @@@ package org.apache.iotdb.db.mpp.plan.pl
  import org.apache.iotdb.common.rpc.thrift.TRegionReplicaSet;
  import org.apache.iotdb.common.rpc.thrift.TTimePartitionSlot;
  import org.apache.iotdb.commons.exception.IllegalPathException;
 +import org.apache.iotdb.commons.exception.MetadataException;
  import org.apache.iotdb.commons.path.PartialPath;
  import org.apache.iotdb.commons.utils.TestOnly;
- import org.apache.iotdb.db.conf.IoTDBDescriptor;
- import org.apache.iotdb.db.conf.ServerConfigConsistent;
 +import org.apache.iotdb.db.exception.metadata.AlignedTimeseriesException;
  import org.apache.iotdb.db.mpp.common.schematree.DeviceSchemaInfo;
  import org.apache.iotdb.db.mpp.common.schematree.ISchemaTree;
  import org.apache.iotdb.db.mpp.plan.analyze.Analysis;