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
# 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
...b-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/client/DispatchLogHandler.java
Outdated
Show resolved
Hide resolved
...in/java/org/apache/iotdb/confignode/consensus/request/write/table/RenameTableColumnPlan.java
Show resolved
Hide resolved
...onfignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java
Outdated
Show resolved
Hide resolved
…m/apache/iotdb into force_ci/support_schema_evolution
…/iotdb into force_ci/support_schema_evolution
This reverts commit 01c60de.
This reverts commit 3c43fe3.
Caideyipi
reviewed
Mar 16, 2026
| TSStatusCode.PIPE_TRANSFER_EXECUTE_STATEMENT_ERROR, "Execute null statement."); | ||
| } | ||
|
|
||
| LOGGER.info("Receiver id = {}: executing {}", receiverId.get(), statement); |
Collaborator
There was a problem hiding this comment.
Consider changing it to debug? There are lots of statements here and may boom the whole logger..
| } | ||
| Iterator<Pair<TDataNodeConfiguration, Long>> it = dataNodesToInvalid.iterator(); | ||
| long timeoutMS = 10 * 60 * 1000; // 10 minutes | ||
| while (it.hasNext()) { |
Collaborator
There was a problem hiding this comment.
Maybe it's better to use async... However it seems to be a legacy problem in older version
Contributor
Author
There was a problem hiding this comment.
Since the operation is critical and low-frequency, I hope the user can acknowledge which node is problematic and may need a manual restart.
Caideyipi
reviewed
Mar 16, 2026
...c/main/java/org/apache/iotdb/db/storageengine/dataregion/tsfile/evolution/EvolvedSchema.java
Outdated
Show resolved
Hide resolved
|
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>