private static void reserveMemoryForTimePartitionSlot(
      long maxTime, long minTime, MPPQueryContext context) {
    if (maxTime == Long.MAX_VALUE || minTime == Long.MIN_VALUE) {
      return;
    }
    long size = TimePartitionUtils.getEstimateTimePartitionSize(minTime, maxTime);
    context.reserveMemoryForFrontEnd(
        RamUsageEstimator.shallowSizeOfInstance(TTimePartitionSlot.class) * size);
  }
get TTimePartitionSlot list about this time filter

@return List<TTimePartitionSlot>, if contains (-oo, XXX] time range, res.right.left = true; if
    contains [XX, +oo), res.right.right = true
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java