public void put(PartialPath rawPath, PartialPath groupedPath) {
      map.put(new Pair<>(rawPath, rawPath.getMeasurementAlias()), groupedPath);
    }
Transform an originalPath to a partial path that satisfies given level. Path nodes don't
satisfy the given level will be replaced by "*" except the sensor level, e.g.
transformPathByLevels("root.sg.dh.d1.s1", 2) will return "root.*.dh.*.s1".

<p>Especially, if count(*), then the sensor level will be replaced by "*" too.

@return result partial path
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/GroupByLevelHelper.java