CritasWang commented on code in PR #14812:
URL: https://github.com/apache/iotdb/pull/14812#discussion_r1950215499


##########
integration-test/src/test/java/org/apache/iotdb/tools/it/ExportTsFileTestIT.java:
##########
@@ -102,7 +100,7 @@ protected void testOnWindows() throws IOException {
 
     prepareData();
 
-    final String[] output1 = {"Export completely!"};
+    final String[] output1 = {"Subscription TsFile Count:1"};

Review Comment:
   Export



##########
integration-test/src/test/java/org/apache/iotdb/tools/it/ExportTsFileTestIT.java:
##########
@@ -76,7 +76,7 @@ public void test() throws IOException {
 
   @Override
   protected void testOnWindows() throws IOException {
-    final String[] output = {"!!!Warning:Tablet is empty,no data can be 
exported."};
+    final String[] output = {"Subscription TsFile Count:0"};

Review Comment:
   Export



##########
integration-test/src/test/java/org/apache/iotdb/tools/it/ExportTsFileTestIT.java:
##########
@@ -129,7 +125,7 @@ protected void testOnWindows() throws IOException {
 
   @Override
   protected void testOnUnix() throws IOException {
-    final String[] output = {"!!!Warning:Tablet is empty,no data can be 
exported."};
+    final String[] output = {"Subscription TsFile Count:0"};

Review Comment:
   Export



##########
iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java:
##########
@@ -253,6 +259,23 @@ public class Constants {
         "yyyy.MM.dd'T'HH:mm:ss"
       };
 
+  public static final String SUBSCRIPTION_CLI_PREFIX = "Subscription TsFile";

Review Comment:
   Export



##########
integration-test/src/test/java/org/apache/iotdb/tools/it/ExportTsFileTestIT.java:
##########
@@ -143,16 +139,14 @@ protected void testOnUnix() throws IOException {
             "root",
             "-pw",
             "root",
-            "-t",
-            "target",
-            "-q",
-            "select * from root.**");
+            "-path",
+            "root.**");
     builder.environment().put("CLASSPATH", libPath);
     testOutput(builder, output, 0);
 
     prepareData();
 
-    final String[] output1 = {"Export completely!"};
+    final String[] output1 = {"Subscription TsFile Count:1"};

Review Comment:
   Export



##########
iotdb-client/cli/src/main/java/org/apache/iotdb/tool/common/Constants.java:
##########
@@ -177,6 +178,8 @@ public class Constants {
   public static final String TARGET_DIR_NAME = "target";
   public static final String TARGET_DIR_ARGS_NAME = "target_directory";
   public static final String TARGET_DIR_DESC = "Target file directory 
(required)";
+  public static final String TARGET_DIR_SUBSCRIPTION_DESC =
+      "Target file directory.default ./target/out/ (optional)";

Review Comment:
   Target file directory.default ./target/ (optional)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to