apache / apache/iotdb

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

Aperta
#16,463 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.4k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
115

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
database
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.