-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Alter column datatype with ANSI SQL statement #16027
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
Open
zerolbsony
wants to merge
123
commits into
apache:master
Choose a base branch
from
zerolbsony:alter_column_datatype_draft
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+9,816
−250
Open
Changes from all commits
Commits
Show all changes
123 commits
Select commit
Hold shift + click to select a range
e6aee9a
init
jt2594838 e58e94d
adapt write and add tests
jt2594838 c85cfa8
add test case
jt2594838 831a3df
disable altering from TEXT to STRING & add aggregation support
jt2594838 7fe66e1
supplement test
jt2594838 e0c37ac
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 8faf343
add more test
jt2594838 7eff395
add concurrent test
jt2594838 d07c818
fix check data type and add load IT
jt2594838 3d76803
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 d25898b
Add license
jt2594838 d8a45ea
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 e372d29
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 c3f5117
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 d2c68ea
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 cba0247
fix ut
jt2594838 37893d3
fix ut
jt2594838 c3b2232
fix test
jt2594838 ca779ec
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 d2381eb
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 f3a7479
move update mod file existence inside
jt2594838 8edeb13
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 01c5eb9
add print for test failure
jt2594838 550e9fb
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 e9b5089
fix it
jt2594838 aeeec75
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 5575a3d
fix it
jt2594838 f677dda
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 ac36f62
fix deleteColumn in TVList
jt2594838 bf40a70
fix delete memoryBinaryChunkSize
jt2594838 a203acf
fix partial insert
jt2594838 78e38ef
fix test
jt2594838 f99f6a5
add debug print
jt2594838 3fe1ab4
fix partial insert
jt2594838 07b82e9
fix insertion retry after detecting incompatible type
jt2594838 6a78cf1
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 bec6efa
spotless
jt2594838 420fc57
fix data type check in memtable
jt2594838 9bb7889
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 5f081de
compact compatibility with alter column datatype (#15010)
zhujt20 90e3cb1
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 d871dec
fix missing check in procedure manager
jt2594838 ea10503
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 22e99f1
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 e6e392c
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 32ed833
fix tests
jt2594838 2b69da1
fix tests
jt2594838 4ad3215
Merge branch 'master' into force_ci/alter_column_datatype
jt2594838 674ae78
fix a problem about data type of field was displayed wrong.
zerolbsony 9bee12d
delete unuseful code.
zerolbsony b101e3f
The logic that the data type of alignedChunkMetadata is different of …
zerolbsony c593fac
To Aligned Series:
zerolbsony a776c19
Adjust the chunk object need be merged statistics.
zerolbsony 72fb3a4
Because this problem is not exist as below:
zerolbsony c9d2e1a
Merge branch 'master' into alter_column_datatype_draft
zerolbsony 796d5e3
Fix some problems after merge code from master branch.
zerolbsony 724457c
Resolve the problem can not find symbol that variable ColumnCategory.
zerolbsony c125407
Resolve the problem the query result is null from MemTable when don't…
zerolbsony 5c63e76
Resolve the problem CI can not be passed sucessfully.
zerolbsony 1709433
Merge codes from master.
zerolbsony b859d84
Format code
zerolbsony 565f2b6
fix a problem the schema variable is wrong.
zerolbsony e8b9f57
rollback to original value
zerolbsony cdb6a0b
format code
zerolbsony 375fe3e
Merge remote-tracking branch 'origin/alter_column_datatype_draft' int…
zerolbsony b1bd660
Merge code of master into current branch.
zerolbsony 20b9c27
Don't allow alter the data type of column that view table.
zerolbsony 87f9bbc
Adjust some accumulator type of classes for tree model.
zerolbsony 3151c22
Fix unexpected problem in the testLoadAndAccumulator function.
zerolbsony 92ac849
Verify the data type of every column in the tsBlock, if occur their t…
zerolbsony 7a07a50
Adjust some problems.
zerolbsony c7cc33e
Add some query test case.
zerolbsony 245c36b
Format code.
zerolbsony 6c5e858
Correct the type convert for tsBlock.
zerolbsony 979d946
Add anthor test case.
zerolbsony 2ef03b4
Merge branch 'master' into alter_column_datatype_draft
zerolbsony e98628f
Merge branch 'master' into alter_column_datatype_draft
zerolbsony d8b1b96
Support other type transfer to TEXT/STRING type.
zerolbsony d71eb63
fix bug.
zerolbsony f95fbce
Verify datatype is contained the same origin so that adapt low version.
zerolbsony 1db4c5c
Used Set<Pair<TSDataType,TSDataType>> structure to optimize code.
zerolbsony dd51fb4
Change tsfile version
zerolbsony 7d8927d
Merge branch 'master' into alter_column_datatype_draft
jt2594838 8fda1d9
Add precision settings
zerolbsony c92f133
For sync metadata.
zerolbsony 9afba5b
Merge branch 'master' into alter_column_datatype_draft_pipe_sync_meta…
zerolbsony 7f22a8a
Fix
zerolbsony 0471962
Test two sqls idempotent in the execute process
zerolbsony bd21697
Merge code
zerolbsony 889fc57
Avoid to access the statistics in the those metadata constructure tha…
zerolbsony dd20207
Fix
zerolbsony 8fc7e05
Set the 'modified' value is true so that resolve the problem that the…
zerolbsony f9831b0
Fix some problems for "Alter column from other type to String/Text type"
zerolbsony 024548e
format code.
zerolbsony 16c8e1b
Resolve the problem that the value of String Data type is transfer to…
zerolbsony 78c215e
Delete unuseful code.
zerolbsony 4896eaa
Fix IT test.
zerolbsony 4c09b3a
Replace tsfile version.
zerolbsony 0a47189
Resolve compatible problems.
zerolbsony 8d88745
Merge branch 'master' into alter_column_datatype_draft
zerolbsony 95b22ca
Fix IT problems, because due to use wrong type of variable to validat…
zerolbsony 8f542df
cause by don't delete completely, verify the value of count() early.
zerolbsony e379d50
Clear some unuseful codes.
zerolbsony 755704c
Remove unnecessary input parameters.
zerolbsony b2f6986
Resolve the problem merge statistics will occur "Statistics classes m…
zerolbsony e7dce2a
Merge branch 'master' into alter_column_datatype_draft
zerolbsony dc9ea54
Merge branch 'master' into alter_column_datatype_draft
zerolbsony 36f8150
format the code of IT.
zerolbsony 4486400
Carry "testAlterColumnDataTypeIdempotent" IT test to correct position;
zerolbsony f128cd5
Merge branch 'master' into alter_column_datatype_draft
zerolbsony 8592202
resolve conflict
zerolbsony 56bbaf0
Support alter sql and procedure so that time series data type can be …
zerolbsony aaa1e26
Add the license description.
zerolbsony 51b547e
Repair all problems for IoTDBAlterTimeSeriesTypeIT
zerolbsony da6f36b
Resolve the problem that time series value cannot be standard date fo…
zerolbsony ce83051
Resolve the problem that cannot format standard date string for the a…
zerolbsony f5ca57d
Add an overlapped data case on the scene of query.
zerolbsony 54e54ac
Merge branch 'master' into alter_column_datatype_draft
zerolbsony 5978614
Fix issue and adjust some bugs on the IT, remove some debug code.
zerolbsony 069a3c3
update tsfile version.
zerolbsony b5d43ce
optimize codes.
zerolbsony a7993f1
Merge branch 'master' into alter_column_datatype_draft
zerolbsony d94f984
Support OBJECT data type
zerolbsony File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2,752 changes: 2,752 additions & 0 deletions
2,752
integration-test/src/test/java/org/apache/iotdb/db/it/schema/IoTDBAlterTimeSeriesTypeIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this to a correct package (not relational)