Caideyipi opened a new pull request, #18319:
URL: https://github.com/apache/iotdb/pull/18319

   Backport #18307 to dev/1.3, cherry-picked from commit 
39e2ad078820d6c435010c5f582092c23e169ff1.
   
   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:
   - The tree schema auto-creation implementation is still embedded in 
LoadTsFileAnalyzer, so the fix and regression coverage are applied there.
   - PartialPath rejects malformed PlainDeviceID values during construction on 
this branch, so the backport converts that IllegalPathException to 
LoadAnalyzeException at the same boundary.
   - Legacy invalid database detection follows this branch's parser behavior 
while preserving the original structured-prefix semantics.
   
   Tests:
   - `mvn -o -nsu -pl iotdb-core/datanode spotless:apply`
   - `mvn -o -nsu -pl iotdb-core/datanode -Dtest=LoadTsFileAnalyzerTest test`
   
   Both commands passed; the targeted test class ran 2 tests with 0 failures.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to