Caideyipi commented on code in PR #19293:
URL: https://github.com/apache/iotdb/pull/19293#discussion_r4594956730
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java:
##########
@@ -270,6 +280,11 @@ public IAnalysis analyzeFileByFile(IAnalysis analysis) {
return analysis;
}
+ if (hasCompatibleDataTypeMismatch()) {
+ executeTabletConversion(analysis);
+ return analysis;
+ }
Review Comment:
You're right. TsFile's kernel already supports reading data with compatible
source and target types, so converting compatible files to tablets is
unnecessary. I removed the compatible-type conversion path: compatible files
now continue through native TsFile loading, while incompatible pairs retain the
existing mismatch handling.
--
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]