apache / apache/iotdb

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

Đang mở
#16,463 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
database
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.