apache / apache/iotdb

[Bug] v1.0 含有反引号的节点查询

Open
#9,097 1 comment 0 reactions 0 assignees View on GitHub
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

V1.0

### Describe the bug and provide the minimal reproduce step

为了规避路径中的特殊字符,路径统一添加了反引号,可以使用通配符查询数据,但是无论使用``` `bWireTemperatuer` ```或者bWireTemperatuer都无法查到数据
![image](https://user-images.githubusercontent.com/22620409/219960181-b3dbcb42-45f5-4ee6-9716-9f4a0134b59b.png)

![image](https://user-images.githubusercontent.com/22620409/219960423-3f9f61e7-cf0b-40db-b256-df199f14535c.png)

使用``` `bWireTemperatuer*` ```也能查询到数据

### What did you expect to see?

希望使用select bWireTemperatuer from 可以查询到数据,在路径的其他节点使用反引号如果不包含特殊字符,iotdb会忽略掉,和预期结果一致,但是在不含特殊字符的测点加反引号会导致无法查询数据。

### 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

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the V1.0 query behavior described in the issue with identifiers enclosed in backticks, then trace the query handling for the affected node name; done means both quoted and unquoted names without special characters return the expected data.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.