apache / apache/iotdb

[Bug] apache-iotdb 2.04 在查询返回列名和结果顺序不匹配

オープン
#16,463 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
database
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。