Skip to content

Support altering column/table names of table model#17079

Draft
jt2594838 wants to merge 84 commits intomasterfrom
force_ci/support_schema_evolution
Draft

Support altering column/table names of table model#17079
jt2594838 wants to merge 84 commits intomasterfrom
force_ci/support_schema_evolution

Conversation

@jt2594838
Copy link
Contributor

@jt2594838 jt2594838 commented Jan 26, 2026

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>

# 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
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 46.54631% with 1362 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.58%. Comparing base (fe0d62e) to head (66c0740).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...ryengine/plan/analyze/load/LoadTsFileAnalyzer.java 0.00% 135 Missing ⚠️
...java/org/apache/iotdb/commons/utils/FileUtils.java 3.73% 103 Missing ⚠️
.../iotdb/db/storageengine/dataregion/DataRegion.java 63.22% 82 Missing ⚠️
...cedure/impl/schema/table/RenameTableProcedure.java 0.00% 58 Missing ⚠️
...plan/planner/plan/node/write/EvolveSchemaNode.java 0.00% 58 Missing ⚠️
...r/plan/node/pipe/PipeEnrichedEvolveSchemaNode.java 0.00% 52 Missing ⚠️
...che/iotdb/db/storageengine/load/util/LoadUtil.java 0.00% 40 Missing ⚠️
...ine/dataregion/tsfile/evolution/EvolvedSchema.java 85.04% 35 Missing ⚠️
.../plan/execution/config/TableConfigTaskVisitor.java 0.00% 33 Missing ⚠️
...iotdb/commons/pipe/receiver/IoTDBFileReceiver.java 0.00% 32 Missing ⚠️
... and 99 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17079      +/-   ##
============================================
+ Coverage     39.50%   39.58%   +0.07%     
  Complexity      282      282              
============================================
  Files          5101     5116      +15     
  Lines        341889   344016    +2127     
  Branches      43525    43802     +277     
============================================
+ Hits         135069   136174    +1105     
- Misses       206820   207842    +1022     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

# Conflicts:
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/LogicalPlanVisitor.java
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/load/LoadTsFileNode.java
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/statement/crud/LoadTsFileStatement.java
#	pom.xml
# Conflicts:
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java
# Conflicts:
#	iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/FileLoaderUtils.java
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant