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

justinchen pushed a commit to branch load-may-fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/load-may-fix by this push:
     new 85f7f5e0ae9 sure-fix
85f7f5e0ae9 is described below

commit 85f7f5e0ae9070cb11ff18079870bb49d191db74
Author: Caideyipi <[email protected]>
AuthorDate: Thu Jan 29 17:54:42 2026 +0800

    sure-fix
---
 .../plan/relational/metadata/fetcher/TableHeaderSchemaValidator.java    | 2 +-
 .../queryengine/plan/planner/distribution/AggregationTableScanTest.java | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/TableHeaderSchemaValidator.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/TableHeaderSchemaValidator.java
index 8becef3efb1..3e6219d1459 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/TableHeaderSchemaValidator.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/TableHeaderSchemaValidator.java
@@ -855,7 +855,7 @@ public class TableHeaderSchemaValidator {
                   
TSFileDescriptor.getInstance().getConfig().getCompressor(dataType)));
           break;
         case TIME:
-          columnSchemaList.add(new TimeColumnSchema(inputColumn.getName(), 
TSDataType.TIMESTAMP));
+          // Do nothing, cause the time column shall never be appended to the 
existing table
           break;
         default:
           throw new IllegalStateException(
diff --git 
a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/AggregationTableScanTest.java
 
b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/AggregationTableScanTest.java
index 698af137f3c..31f0542e038 100644
--- 
a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/AggregationTableScanTest.java
+++ 
b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/AggregationTableScanTest.java
@@ -51,6 +51,7 @@ import java.time.ZonedDateTime;
 import java.util.concurrent.ExecutorService;
 
 import static 
org.apache.iotdb.db.queryengine.execution.fragment.FragmentInstanceContext.createFragmentInstanceContext;
+
 public class AggregationTableScanTest {
 
   @Test

Reply via email to