@Test
  public void test2() {
    EnvFactory.getEnv()
        .getConfig()
        .getCommonConfig()
        .setMaxNumberOfPointsInPage(4)
        .setTargetChunkPointNum(2);
    EnvFactory.getEnv().initClusterEnvironment();
    String[] expectedHeader = new String[] {TIMESTAMP_STR, count("root.sg2.d1.s1")};
    String[] retArray = new String[] {"5,1,", "10,1,", "15,2,", "20,0,", "25,1,"};

    prepareData(dataSet2);
    resultSetEqualTest(
        "select count(s1) from root.sg2.d1 group by ([5, 30), 5ms)", expectedHeader, retArray);
  }
This test contains two seq files and one unseq file. In the first seq file, it contains two
points: [1, 10]. In the second seq file, it contains two points: [19, 30]. In the unseq file,
it contains two CHUNKS: [5, 15], [26, 30]. The unseq file is overlapped with two seq files.
While the chunk [19,30] in the second seq file is unpacked, it should replace [26,30] as the
first chunk.
integration-test/src/test/java/org/apache/iotdb/db/it/groupby/IoTDBGroupByUnseqIT.java