DanielWang2035 commented on code in PR #14751:
URL: https://github.com/apache/iotdb/pull/14751#discussion_r1952276320
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java:
##########
@@ -291,4 +520,28 @@ protected void checkBeforeAnalyzeFileByFile(IAnalysis
analysis) {
return;
}
}
+
+ private TreeSchemaAutoCreatorAndVerifier getOrCreateTreeSchemaVerifier() {
+ if (schemaAutoCreatorAndVerifier == null) {
+ schemaAutoCreatorAndVerifier = new
TreeSchemaAutoCreatorAndVerifier(this);
+ }
+ return schemaAutoCreatorAndVerifier;
+ }
+
+ private LoadTsFileTableSchemaCache getOrCreateTableSchemaCache() {
+ if (schemaCache == null) {
+ schemaCache = new LoadTsFileTableSchemaCache(metadata, context);
+ }
+ return schemaCache;
+ }
+
+ @Override
+ public void close() throws Exception {
+ if (schemaAutoCreatorAndVerifier != null) {
+ schemaAutoCreatorAndVerifier.close();
Review Comment:
rename
--
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]