This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch merge_master0710 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit ac58d19db1244e721ee75cbb66fb4655bd44198d Author: JackieTien97 <[email protected]> AuthorDate: Wed Jul 10 18:30:19 2024 +0800 fix compile errors in PipeTabletEventSorterTest --- .../apache/iotdb/db/pipe/connector/PipeTabletEventSorterTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/connector/PipeTabletEventSorterTest.java b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/connector/PipeTabletEventSorterTest.java index e58bcf1c294..e6977c7384c 100644 --- a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/connector/PipeTabletEventSorterTest.java +++ b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/connector/PipeTabletEventSorterTest.java @@ -23,6 +23,7 @@ import org.apache.iotdb.db.pipe.connector.util.PipeTabletEventSorter; import org.apache.tsfile.enums.TSDataType; import org.apache.tsfile.write.record.Tablet; +import org.apache.tsfile.write.schema.IMeasurementSchema; import org.apache.tsfile.write.schema.MeasurementSchema; import org.junit.Assert; import org.junit.Test; @@ -46,7 +47,7 @@ public class PipeTabletEventSorterTest { @Test public void testDeduplicateAndSort() { - List<MeasurementSchema> schemaList = new ArrayList<>(); + List<IMeasurementSchema> schemaList = new ArrayList<>(); schemaList.add(new MeasurementSchema("s1", TSDataType.INT64)); schemaList.add(new MeasurementSchema("s2", TSDataType.INT64)); schemaList.add(new MeasurementSchema("s3", TSDataType.INT64)); @@ -103,7 +104,7 @@ public class PipeTabletEventSorterTest { @Test public void testDeduplicate() { - List<MeasurementSchema> schemaList = new ArrayList<>(); + List<IMeasurementSchema> schemaList = new ArrayList<>(); schemaList.add(new MeasurementSchema("s1", TSDataType.INT64)); schemaList.add(new MeasurementSchema("s2", TSDataType.INT64)); schemaList.add(new MeasurementSchema("s3", TSDataType.INT64)); @@ -148,7 +149,7 @@ public class PipeTabletEventSorterTest { @Test public void testSort() { - List<MeasurementSchema> schemaList = new ArrayList<>(); + List<IMeasurementSchema> schemaList = new ArrayList<>(); schemaList.add(new MeasurementSchema("s1", TSDataType.INT64)); schemaList.add(new MeasurementSchema("s2", TSDataType.INT64)); schemaList.add(new MeasurementSchema("s3", TSDataType.INT64));
