Support altering column/table names of table model#17079
Draft
Support altering column/table names of table model#17079
Conversation
# Conflicts: # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/FileLoaderUtils.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/PlanNodeType.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/PlanVisitor.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/performer/impl/FastCompactionPerformer.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/task/subtask/FastCompactionPerformerSubTask.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/MultiTsFileDeviceIterator.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/executor/fast/FastAlignedSeriesCompactionExecutor.java # pom.xml
…ts when regisering table schema, fix concurrent issue of DataNodeTableCache, fix cross compaction selection
# Conflicts: # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/execute/utils/executor/fast/FastAlignedSeriesCompactionExecutor.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/selector/impl/RewriteCrossSpaceCompactionSelector.java
# Conflicts: # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java
7fb5413 to
c86f87c
Compare
This reverts commit 8790bf7.
Caideyipi
reviewed
Mar 13, 2026
| Throwable rootCause = ExceptionUtils.getRootCause(exception); | ||
| logger.warn( | ||
| "Can not send {} to peer for {} times {} because {}", | ||
| "v {} to peer for {} times {} because {}", |
| private String oldName; | ||
| private String newName; | ||
| private List<String> oldNames; | ||
| private List<String> newNames; |
Collaborator
There was a problem hiding this comment.
May better use "PlanV2" to avoid the stale raft log?
| RpcUtils.getStatus( | ||
| TSStatusCode.SEMANTIC_ERROR, | ||
| String.format( | ||
| "Table '%s.%s' is created in a old version and cannot be renamed, " |
…m/apache/iotdb into force_ci/support_schema_evolution
…/iotdb into force_ci/support_schema_evolution
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




The following statements are supported:
ALTER TABLE [IF EXISTS] <oldName> RENAME TO <newName>
ALTER TABLE [IF EXISTS] <tableName> RENAME COLUMN IF EXISTS <oldName> TO <newName>