cqzhang7 commented on code in PR #11290:
URL: https://github.com/apache/iotdb/pull/11290#discussion_r1361841206


##########
iotdb-core/tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/GroupByMonthFilter.java:
##########
@@ -38,6 +38,12 @@ public class GroupByMonthFilter extends GroupByFilter {
 
   private int slidingStepsInMo;
   private int intervalInMo;
+
+  private long fixedIntervalOther;
+  private long fixedSlidingStepOther;
+  private long[] timeArray;
+  private int arraySize;

Review Comment:
   I am not quite sure what this mean, the **timeArray** is an array that 
stores the start time of each window interva. In this case, I can get the 
return value of getTimePointPosition directly from **timeArray** when the input 
is '1mo1d', instead of iteratively calculating from initialStartTime every time



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