jt2594838 commented on code in PR #16110:
URL: https://github.com/apache/iotdb/pull/16110#discussion_r2256082176
##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/ttl/TTLCache.java:
##########
@@ -199,6 +199,48 @@ public long getDatabaseMaxTTL(String database) {
return maxTTL;
}
+ public boolean dataInDatabaseMayHaveTTL(String database) {
+ String[] nodeNames = database.split("\\.");
Review Comment:
Cannot simply split because the database segment may contain '.'.
--
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]