apache / apache/iotdb

[v0.12.2]用户使用文件导入数据时,返回失败,报错信息“org.apache.iotdb.db.exception.metadata.IllegalPathException: is not a legal path”

未关闭
#4,623 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. 使用root用户登录sbin/start-cli.sh -h 127.0.0.1 -p 6667 -u root -pw root
2. 使用show devices root.ln.wf02.wt02;
show timeseries root.ln.wf02.wt02;查看,设备已创建好

![111](https://user-images.githubusercontent.com/96515689/147048720-8a80e134-bde0-4bb3-9935-e7e3c3a09a42.png)

3. 执行命令,导入数据:
./import-csv.sh -h 127.0.0.1 -p 6667 -u root -pw root -f /opt/apache-iotdb-0.12.2-server-bin/sbin/111.csv
导入失败。
导入数据文件格式如下:
Time,Device,status
1970-01-01T08:00:00.001+08:00,root.ln.wf02.wt02,123

4. See error
![222](https://user-images.githubusercontent.com/96515689/147049027-dfd66b00-feaa-44ca-ac36-d6c25d66d5ed.png)

贡献指南

打开贡献指南

调研方向

首先,使用 sbin/import-csv.sh、提供的 111.csv 内容以及报告中显示的命令重现该故障。检查与报告的 IllegalPathException 相关的导入路径处理,并验证有效的设备路径能够在不出现该错误的情况下成功导入。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。