-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Alter column datatype draft #15954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jt2594838
merged 325 commits into
apache:force_ci/alter_column_datatype
from
zerolbsony:alter_column_datatype_draft
Jul 24, 2025
Merged
Alter column datatype draft #15954
jt2594838
merged 325 commits into
apache:force_ci/alter_column_datatype
from
zerolbsony:alter_column_datatype_draft
Jul 24, 2025
Conversation
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
…ot waiting real-time tsFile close (apache#15464)
…ted (apache#15465) Co-authored-by: Steve Yurong Su <[email protected]>
…mpression time for iotdb connector (apache#15397) Co-authored-by: Steve Yurong Su <[email protected]>
) * latest timerxl code * add dependency of einops in ainode/pyproject.toml * Update pyproject.toml --------- Co-authored-by: OswinGuai <[email protected]> Co-authored-by: YangCaiyin <[email protected]>
* Implement high availability CPP client under table model * Implement high availability CPP client under table model; Refactored the CPP client codebase * Implement high availability CPP client under table model;Refactored the CPP client codebase * Refactored the CPP client codebase * Refactored the CPP client codebase * fix compilation error * Extended data type support to cover STRING, BLOB, DATE, and TIMESTAMP; Fixed memory leaks in test cases (Valgrind verified) * fix compilation error on ubuntu14.04/boost1.60 * Implement high availability CPP client under table&tree model;Refactored the CPP client codebase;Extended data type support to cover STRING, BLOB, DATE, and TIMESTAMP
…nhanced the tree view IT & Handled the cases in field / measurement names & Temporarily banned source measurements with the same name (apache#15475)
…-creation of the database by reading the isAutoCreateSchemaEnabled flag from config (apache#15489)
…s not a multiple of 96 (apache#15495) Co-authored-by: OswinGuai <[email protected]>
…memory with environment variables (apache#15496) * docker: support configuring JVM memory environment variables in docker-compose file:IOTDB_JMX_OPTS for datanode,CONFIGNODE_JMX_OPTS for confignode * recover the place of setting ON_HEAP_MEMORY and OFF_HEAP_MEMORY to fix atmos * docker-compose file:fix a slip of the pen and add the new way to set memory with environment variables
* add auto release logic * add license * enhance Signed-off-by: OneSizeFitQuorum <[email protected]> * Refine API Signed-off-by: OneSizeFitQuorum <[email protected]> * fix typo Signed-off-by: OneSizeFitQuorum <[email protected]> --------- Signed-off-by: OneSizeFitQuorum <[email protected]> Co-authored-by: MrQuansy <[email protected]>
* Fix stuck when stopping a DataNode with large unremovable WAL files * spotless * add shutdown hook watcher * Fix logDispatcher stuck * add re-interrupt * Enhance IT frame to run tests that restart the cluster * code refinement * modify test configuration * fix test
… level & Add some log for delete local peer (apache#15815) * use custom replicate index for each consensus pipe * test conf * fix * Revert "test conf" This reverts commit f0f13af. * fix review
…release resource blocked too long by driver (apache#15828)
* column refactored and model can be auto downloaded * Update AINodeBasicIT.java --------- Co-authored-by: Yongzao <[email protected]>
…d columns in tree view scan
…the data type of measurement after changed which it can be considered is an defect in the FastAlignedSeriesCompactionExecutor.
Resolve the problem that only the first data type of chunkMetadata is adjusted. Add the logic that the statistics of chunkMetadata need be analyzed with new data type. In addition, the data type of valueChunkMetadata need be updated. To NonAligned Series: Avoid the problem that chunk in the memory need be still rewrited when data type don't be changed.
Don't need rewrite chunk data when data type have not been changed.
"The logic that the data type of alignedChunkMetadata is different of the data type of measurement after changed which it can be considered is an defect in the FastAlignedSeriesCompactionExecutor." So delete unuseful code.
# Conflicts: # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/CnToDnAsyncRequestType.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlanType.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/receiver/protocol/IoTDBConfigNodeReceiver.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaManager.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/store/ProcedureFactory.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/store/ProcedureType.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/SeriesScanUtil.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertRowNode.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/write/InsertTabletNode.java # iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/parser/AstBuilder.java # iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/table/column/TsTableColumnSchema.java
… execute the flush operation.
This is reason that the problem cause: When type of timeseries is the align, the chunkMetadata of chunkMetadataElement contain two inner ChunkMetadata struct, only change their value with reference, don't need change value with the "set" function.
b03d6f5
into
apache:force_ci/alter_column_datatype
60 of 62 checks passed
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.
fix some problems