[To dev/1.3] [Load] Handle empty path nodes during database auto-creation (#18307)#18319
Open
Caideyipi wants to merge 1 commit into
Open
[To dev/1.3] [Load] Handle empty path nodes during database auto-creation (#18307)#18319Caideyipi wants to merge 1 commit into
Caideyipi wants to merge 1 commit into
Conversation
…18307) * Reject illegal device paths during LOAD * Remove duplicate ConfigNode validation * Handle legacy invalid databases during LOAD
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.
Backport #18307 to dev/1.3, cherry-picked from commit 39e2ad0.
LOAD now rejects malformed device paths during database auto-creation, ignores invalid database names left by older versions, and uses node-aware prefix matching so names such as root.sg and root.sg1 are not confused.
Adaptations for dev/1.3:
Tests:
mvn -o -nsu -pl iotdb-core/datanode spotless:applymvn -o -nsu -pl iotdb-core/datanode -Dtest=LoadTsFileAnalyzerTest testBoth commands passed; the targeted test class ran 2 tests with 0 failures.