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 00e55d87346 fetch
00e55d87346 is described below
commit 00e55d873463df5e731314b614708c8fc2187d70
Author: Caideyipi <[email protected]>
AuthorDate: Wed Jan 7 16:12:16 2026 +0800
fetch
---
.../apache/iotdb/confignode/persistence/schema/ConfigMTree.java | 9 ++++++++-
1 file changed, 8 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 0f1007a65c4..35f8c48970d 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
@@ -853,7 +853,14 @@ public class ConfigMTree {
final IConfigMNode child = databaseNode.getChildren().get(table);
if (child instanceof ConfigTableNode
&& ((ConfigTableNode)
child).getStatus().equals(TableNodeStatus.USING)) {
- result.put(table, ((ConfigTableNode) child).getTable());
+ TsTable resultTable = ((ConfigTableNode) child).getTable();
+ if (!((ConfigTableNode) child).getPreDeletedColumns().isEmpty()) {
+ resultTable = new TsTable(resultTable);
+ ((ConfigTableNode) child)
+ .getPreDeletedColumns()
+ .forEach(resultTable::removeColumnSchema);
+ }
+ result.put(table, resultTable);
} else {
result.put(table, null);
}