Caideyipi opened a new pull request, #17949: URL: https://github.com/apache/iotdb/pull/17949
## Description Tree-model Load TsFile schema verification previously only logged data type mismatches at debug level. As a result, when convert-on-type-mismatch was enabled, the analysis stage could still accept the TsFile directly instead of triggering the existing tablet conversion path. This patch makes tree schema verification throw LoadAnalyzeTypeMismatchException on measurement data type mismatch, matching the signal used by the load analyzer to convert TsFiles to tablets. It also adds a unit test covering the tree verifier mismatch path. ## Verification - mvn -pl iotdb-core/datanode spotless:apply - git diff --check - mvn -nsu -pl iotdb-core/datanode -Dtest=LoadTsFileAnalyzerTest#testTreeSchemaVerifierShouldThrowMismatchWhenVerifyingDataType test could not complete locally because this checkout fails during datanode compilation/test compilation on unrelated existing source/target/API mismatches, before the new test is executed. -- 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]
