@Override
  protected void evictingExpiredValue() {
    if (lastTime != -1 && !curTimeRange.contains(lastTime)) {
      this.accumulator.reset();
      lastTime = -1;
    }
  }
When calculating MAX_TIME and LAST_VALUE (the MIN_TIME and FIRST_VALUE in descending order), the
aggregation result always appears in the most recent pre-aggregation result. So, we do not need
to cache the previous pre-aggregated results in the queue.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/aggregation/slidingwindow/EmptyQueueSlidingWindowAggregator.java