Caideyipi commented on code in PR #15003:
URL: https://github.com/apache/iotdb/pull/15003#discussion_r2050187123


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/receiver/protocol/thrift/IoTDBDataNodeReceiver.java:
##########
@@ -545,8 +545,8 @@ protected String getSenderPort() {
   protected TSStatus loadFileV1(final PipeTransferFileSealReqV1 req, final 
String fileAbsolutePath)

Review Comment:
   Seems that "importTsFileRemotely" will also use loadFileV2?



##########
iotdb-client/cli/src/main/java/org/apache/iotdb/tool/tsfile/ImportTsFileLocally.java:
##########
@@ -34,11 +40,9 @@ public void loadTsFile() {
     String filePath;
     try {
       while ((filePath = ImportTsFileScanTool.pollFromQueue()) != null) {
-        final String sql =
-            "load '" + filePath + "' onSuccess=none " + (verify ? "" : 
"verify=false");
+        String sql = buildLoadSql(filePath);
         try {
           sessionPool.executeNonQueryStatement(sql);

Review Comment:
   Is the session sql dialect changed?



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