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

justinchen pushed a commit to branch pipe-alter-column
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/pipe-alter-column by this push:
     new 17ec6e3f97e dnr
17ec6e3f97e is described below

commit 17ec6e3f97e70405580b3f47f403b7ccc0df4d32
Author: Caideyipi <[email protected]>
AuthorDate: Wed Jan 7 16:21:43 2026 +0800

    dnr
---
 .../iotdb/confignode/persistence/schema/ConfigMTree.java     | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git 
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java
 
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java
index 35f8c48970d..0a92016c405 100644
--- 
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java
+++ 
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java
@@ -828,7 +828,17 @@ public class ConfigMTree {
             child ->
                 child instanceof ConfigTableNode
                     && ((ConfigTableNode) 
child).getStatus().equals(TableNodeStatus.USING))
-        .map(child -> ((ConfigTableNode) child).getTable())
+        .map(
+            child -> {
+              TsTable resultTable = ((ConfigTableNode) child).getTable();
+              if (!((ConfigTableNode) child).getPreDeletedColumns().isEmpty()) 
{
+                resultTable = new TsTable(resultTable);
+                ((ConfigTableNode) child)
+                    .getPreDeletedColumns()
+                    .forEach(resultTable::removeColumnSchema);
+              }
+              return resultTable;
+            })
         .collect(Collectors.toList());
   }
 

Reply via email to