[Bug] load-tsfile.sh使用时,-f参数加载的是服务器文件位置而不是本地
- 主要言語
- Java
- スター
- 6.4k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 115
説明
### 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!
コントリビューションガイド
調査の方向性
tools/load-tsfile.sh から始め、IoTDB 1.3.2 上でローカルの .tsfile パスを使用して、報告された -f の動作を再現します。スクリプトがそのパスをロード操作に渡す方法を追跡し、続いて、文書化されているローカルファイルのワークフローが、報告された 701 エラーなしで成功することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, java
- 領域
- cli, databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100