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 <[email protected]> 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;
