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 2022/10/12 06:57:54 UTC

[GitHub] [iotdb] HTHou commented on a diff in pull request #7354: [IOTDB-3656] mpp load supports modification

HTHou commented on code in PR #7354:
URL: https://github.com/apache/iotdb/pull/7354#discussion_r993063249


##########
server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java:
##########
@@ -1006,6 +1006,10 @@ public void loadProperties(Properties properties) {
 
     conf.setTimePartitionIntervalForStorage(
         convertMilliWithPrecision(conf.getTimePartitionIntervalForStorage()));
+
+    if (!conf.isClusterMode()) {
+      conf.setTimePartitionIntervalForRouting(conf.getTimePartitionIntervalForStorage());
+    }

Review Comment:
   Why do u add this?



##########
example/tsfile/src/main/java/org/apache/iotdb/tsfile/TsFileSequenceRead.java:
##########
@@ -53,7 +53,11 @@ public class TsFileSequenceRead {
     "squid:S106"
   }) // Suppress high Cognitive Complexity and Standard outputs warning
   public static void main(String[] args) throws IOException {
-    String filename = "test.tsfile";
+    //    String filename =
+    //
+    // "E:\\IoTDB\\data\\load\\mpp_load\\test_dataset\\data\\data\\sequence\\root.sg.test_0\\1\\9\\1664888359266-6-0-0.tsfile";
+    String filename =
+        "E:\\IoTDB\\code\\iotdb\\data\\data\\sequence\\root.sg\\0\\0\\1665132595840-12-0-0.tsfile";

Review Comment:
   Don't change it.



-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

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