public static void checkSingleTimeSeries(
      final ISchemaRegion schemaRegion,
      final PartialPath pathPattern,
      final boolean isAligned,
      final TSDataType type,
      final TSEncoding encoding,
      final CompressionType compressor,
      final String alias,
      final Map<String, String> tags,
      final Map<String, String> attributes) {
    try (final ISchemaReader<ITimeSeriesSchemaInfo> timeSeriesReader =
        schemaRegion.getTimeSeriesReader(
            SchemaRegionReadPlanFactory.getShowTimeSeriesPlan(
                pathPattern, Collections.emptyMap(), 0, 0, false, null, false, ALL_MATCH_SCOPE))) {
      Assert.assertTrue(timeSeriesReader.hasNext());
      final ITimeSeriesSchemaInfo info = timeSeriesReader.next();
      Assert.assertEquals(isAligned, info.isUnderAlignedDevice());
      Assert.assertEquals(type, info.getSchema().getType());
      Assert.assertEquals(encoding, info.getSchema().getEncodingType());
      Assert.assertEquals(compressor, info.getSchema().getCompressor());
      Assert.assertEquals(alias, info.getAlias());
      Assert.assertEquals(tags, info.getTags());
      Assert.assertEquals(attributes, info.getAttributes());
    } catch (final Exception e) {
      throw new RuntimeException(e);
    }
  }
Create time series quickly using createSimpleTimeSeriesInt64 with given string list of paths.

@param schemaRegion schemaRegion which you want to create time series
@param pathList
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/metadata/schemaRegion/SchemaRegionTestUtil.java