private void checkTags(String fullPath, Map<String, String> tags) {
    try {
      List<ITimeSeriesSchemaInfo> result =
          SchemaRegionTestUtil.showTimeseries(schemaRegion, new PartialPath(fullPath));
      Assert.assertEquals(1, result.size());
      Assert.assertEquals(fullPath, result.get(0).getFullPath());
      Assert.assertEquals(tags, result.get(0).getTags());
    } catch (Exception e) {
      logger.error(e.getMessage(), e);
      Assert.fail(e.getMessage());
    }
  }
Prepare timeseries

<p>"root.sg.wf01.wt01.v1.s1" without tags, attributes and alias

<p>"root.sg.wf01.wt01.v1.s2" with tags, attributes and alias

<p>"root.sg.wf01.aligned_device1.(s1,s2)" aligned without tags, attributes and alias

<p>"root.sg.wf01.aligned_device2.(s1,s2)" aligned with tags, attributes and alias
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/metadata/schemaRegion/SchemaRegionAliasAndTagTest.java