@Test
  public void sumDistinctTest() {
    String[] expectedHeader = new String[] {"device_id", "_col1", "_col2", "_col3", "_col4"};
    String[] retArray = new String[] {"d01,70.0,85000.0,105.0,35.0,"};
    tableResultSetEqualTest(
        "select device_id, sum(distinct s1), sum(distinct s2), sum(distinct s3), sum(distinct s4) from table1 group by 1 order by 1",
        expectedHeader,
        retArray,
        DATABASE_NAME);
  }
In this Class, we construct the scenario using DistinctAccumulator for
AggregationFunctionDistinct. Other cases are covered by {@link IoTDBTableViewAggregationIT}.
integration-test/src/test/java/org/apache/iotdb/relational/it/query/view/recent/IoTDBTableViewAggregationFunctionDistinctIT.java