@@ -67,17 +67,17 @@ public class RegionScanLogicalPlannerTest {
6767 new MeasurementPath ("root.sg.d1.s1" , TSDataType .INT32 ),
6868 Collections .singletonList (
6969 new TimeseriesContext (
70- "INT32" , null , "PLAIN " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
70+ "INT32" , null , "TS_2DIFF " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
7171 timeseriesSchemaInfoMap .put (
7272 new MeasurementPath ("root.sg.d1.s2" , TSDataType .DOUBLE ),
7373 Collections .singletonList (
7474 new TimeseriesContext (
75- "DOUBLE" , "status" , "PLAIN " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
75+ "DOUBLE" , "status" , "GORILLA " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
7676 timeseriesSchemaInfoMap .put (
7777 new MeasurementPath ("root.sg.d1.s3" , TSDataType .BOOLEAN ),
7878 Collections .singletonList (
7979 new TimeseriesContext (
80- "BOOLEAN" , null , "PLAIN " , "LZ4" , "{\" key1\" :\" value2\" }" , null , null , null )));
80+ "BOOLEAN" , null , "RLE " , "LZ4" , "{\" key1\" :\" value2\" }" , null , null , null )));
8181 deviceToTimeseriesSchemaInfoMap .put (
8282 new PartialPath (new PlainDeviceID ("root.sg.d1" )), timeseriesSchemaInfoMap );
8383
@@ -86,12 +86,12 @@ public class RegionScanLogicalPlannerTest {
8686 new MeasurementPath ("root.sg.d2.s1" , TSDataType .INT32 ),
8787 Collections .singletonList (
8888 new TimeseriesContext (
89- "INT32" , null , "PLAIN " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
89+ "INT32" , null , "TS_2DIFF " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
9090 timeseriesSchemaInfoMap2 .put (
9191 new MeasurementPath ("root.sg.d2.s2" , TSDataType .DOUBLE ),
9292 Collections .singletonList (
9393 new TimeseriesContext (
94- "DOUBLE" , "status" , "PLAIN " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
94+ "DOUBLE" , "status" , "GORILLA " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null )));
9595 timeseriesSchemaInfoMap2 .put (
9696 new MeasurementPath ("root.sg.d2.s4" , TSDataType .TEXT ),
9797 Collections .singletonList (
@@ -107,10 +107,10 @@ public class RegionScanLogicalPlannerTest {
107107 Map <PartialPath , List <TimeseriesContext >> timeseriesSchemaInfoMap3 = new HashMap <>();
108108 timeseriesContextList .add (
109109 new TimeseriesContext (
110- "INT32" , null , "PLAIN " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null ));
110+ "INT32" , null , "TS_2DIFF " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null ));
111111 timeseriesContextList .add (
112112 new TimeseriesContext (
113- "DOUBLE" , "status" , "PLAIN " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null ));
113+ "DOUBLE" , "status" , "GORILLA " , "LZ4" , "{\" key1\" :\" value1\" }" , null , null , null ));
114114 timeseriesSchemaInfoMap3 .put (
115115 new AlignedPath ("root.sg.d2.a" , schemas , Collections .emptyList ()), timeseriesContextList );
116116 deviceToTimeseriesSchemaInfoMap .put (
@@ -215,7 +215,7 @@ public void testCountTimeseriesWithTimeConditionWithLimitOffset() throws Illegal
215215 queryId .genPlanNodeId (), getDeviceToTimeseriesSchemaInfoMap (), true , null );
216216
217217 PlanNode actualPlan = parseSQLToPlanNode (sql );
218- Assert .assertEquals (actualPlan , regionScanNode );
218+ Assert .assertEquals (regionScanNode , actualPlan );
219219 }
220220
221221 @ Test
0 commit comments