[v0.12.2]用户使用文件导入数据时,返回失败,报错信息“org.apache.iotdb.db.exception.metadata.IllegalPathException: is not a legal path”
- 主要语言
- 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;查看,设备已创建好

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

贡献指南
调研方向
首先,使用 sbin/import-csv.sh、提供的 111.csv 内容以及报告中显示的命令重现该故障。检查与报告的 IllegalPathException 相关的导入路径处理,并验证有效的设备路径能够在不出现该错误的情况下成功导入。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100