You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/06/04 06:28:21 UTC

[GitHub] [iotdb] SilverNarcissus commented on a change in pull request #3300: [IOTDB-1405] Refactor MManager for new vector interfaces

SilverNarcissus commented on a change in pull request #3300:
URL: https://github.com/apache/iotdb/pull/3300#discussion_r645321183



##########
File path: example/session/src/main/java/org/apache/iotdb/VectorSessionExample.java
##########
@@ -217,9 +239,12 @@ private static void insertTabletWithAlignedTimeseriesMethod1()
     List<IMeasurementSchema> schemaList = new ArrayList<>();
     schemaList.add(
         new VectorMeasurementSchema(
-            new String[] {"s1", "s2"}, new TSDataType[] {TSDataType.INT64, TSDataType.INT32}));
+            "vector",
+            new String[] {"s1", "s2"},
+            new TSDataType[] {TSDataType.INT64, TSDataType.INT32}));
 
-    Tablet tablet = new Tablet(ROOT_SG1_D1, schemaList);
+    Tablet tablet = new Tablet(ROOT_SG1_D1 + ".vector", schemaList);
+    tablet.setAligned(true);

Review comment:
       This will be refactored by Zhao Xin later.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org