[v0.12.2]用户使用文件导入数据时,返回失败,报错信息“org.apache.iotdb.db.exception.metadata.IllegalPathException: is not a legal path”
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
**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

Contributor guide
Research direction
Start by reproducing the failure with sbin/import-csv.sh, the provided 111.csv contents, and the commands shown in the report. Inspect the import path handling around the reported IllegalPathException and verify that the valid device path imports successfully without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100