You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/15 01:59:30 UTC

[GitHub] [iotdb] JackieTien97 commented on a change in pull request #4382: New architecture of aligned timeseries

JackieTien97 commented on a change in pull request #4382:
URL: https://github.com/apache/iotdb/pull/4382#discussion_r748959031



##########
File path: server/src/main/java/org/apache/iotdb/db/metadata/template/Template.java
##########
@@ -88,11 +87,7 @@ public Template(CreateTemplatePlan plan) throws IllegalPathException {
             MetaUtils.splitPathToDetachedPath(plan.getMeasurements().get(i).get(0));
         String thisPrefix =
             joinBySeparator(Arrays.copyOf(thisMeasurement, thisMeasurement.length - 1));
-        if (plan.getAlignedPrefix() != null && plan.getAlignedPrefix().contains(thisPrefix)) {
-          isAlign = true;
-        } else {
-          isAlign = false;
-        }
+        isAlign = plan.getAlignedPrefix() != null && plan.getAlignedPrefix().contains(thisPrefix);

Review comment:
       yeap, already rename it.




-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org