You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Caideyipi (via GitHub)" <gi...@apache.org> on 2025/04/18 07:28:23 UTC
Re: [PR] Load: Support loading table Tsfile by load-tsfile.sh [iotdb]
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org