jt2594838 commented on code in PR #259:
URL: https://github.com/apache/tsfile/pull/259#discussion_r1792676503


##########
java/tsfile/src/main/java/org/apache/tsfile/file/metadata/StringArrayDeviceID.java:
##########
@@ -211,6 +212,11 @@ public boolean isEmpty() {
     return segments == null || segments.length == 0;
   }
 
+  @Override
+  public boolean isTableModel() {
+    return segments[0].startsWith(PATH_ROOT + PATH_SEPARATOR);
+  }

Review Comment:
   The condition should be reversed. May add a small test.



-- 
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