[Bug] load-tsfile.sh使用时,-f参数加载的是服务器文件位置而不是本地
- Langage dominant
- Java
- Étoiles
- 6.4k
- Forks
- 1.2k
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 115
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
1.3.2
### Describe the bug and provide the minimal reproduce step
使用./tools/load-tsfile.sh -f path时,-f 是加载远端服务器的文件位置,而不是本地ts file的文件位置。
若想加载本地文件位置,则会报错
Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 701: Can not find ./dump0.tsfile on this machine, notice that load can only handle files on this machine.
### What did you expect to see?
按照官网文档的理解,应该是将本地tsfile文件加载至服务器Iotdb实例中。

### What did you see instead?
Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 701: Can not find ./dump0.tsfile on this machine, notice that load can only handle files on this machine.
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par tools/load-tsfile.sh et reproduisez le comportement signalé de -f en utilisant un chemin local vers un fichier .tsfile sur IoTDB 1.3.2. Suivez la manière dont le script transmet ce chemin à l’opération de chargement, puis vérifiez que le workflow documenté pour les fichiers locaux aboutit sans l’erreur 701 signalée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- bash, java
- Domaine
- cli, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100