[Bug] device路径中包含关键字root, show devices 语句返回该device时,root未使用反引号引用
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
1.3.1
### Describe the bug and provide the minimal reproduce step

### What did you expect to see?
device 中如果包含root则用反引号引用
root.olm.MYSQL_05.manage_user.`327247336700160`.`root`
### What did you see instead?

### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Research direction
Start by reproducing SHOW DEVICES with a device path containing the keyword root, using the version and expected output described in the issue. Locate the code that formats SHOW DEVICES results and add or update a focused regression test; done means the root path component is emitted with backticks as shown.
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
- Mostly clear
- Newbie friendliness
- 38/100