[Bug] apache-iotdb 2.04 在查询返回列名和结果顺序不匹配
- 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
apache-iotdb 2.04 在查询
SELECT VS001 FROM root.gn.10000001_1.BTA06.AE0001* WHERE time>= 2021-08-27 19:26:00 模糊查询多测点时候,
result = session.execute_query_statement(sql)时候
df = result.todf()
df.columns 返回列名和结果顺序不匹配
### Describe the bug and provide the minimal reproduce step
apache-iotdb 2.04 在查询
SELECT VS001 FROM root.gn.10000001_1.BTA06.AE0001* WHERE time>= 2021-08-27 19:26:00 模糊查询多测点时候,
result = session.execute_query_statement(sql)时候
df = result.todf()
df.columns 返回列名和结果顺序不匹配
### What did you expect to see?
字段和结果顺序一样
### What did you see instead?
字段和结果顺序不一样
### Anything else?
_No response_
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
Contributor guide
Research direction
Start by reproducing the wildcard query with session.execute_query_statement(sql), then compare result.todf().columns with the returned data order. The fix is complete when column names and result values have the same order for this multi-measurement query.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100