apache / apache/iotdb

[Bug] iotdb查询问题

オープン
#9,343 コメント 1 件 リアクション 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

iotdb1.0.0

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

我们在使用iotdb的select做查询时,有时候查询结果与我们实际的预期结果不一致,但是在查询sql中加上order by time desc或者order by timeseries desc查询到的结果就符合我们的查询结果
![image](https://user-images.githubusercontent.com/20983434/225574340-346959a1-c14d-4de6-b4be-ace1695713ee.png)
![image](https://user-images.githubusercontent.com/20983434/225574454-072acec1-ccea-4a4e-8b0f-9eb8c3a6b466.png)

### What did you expect to see?

期望可以获得正确的查询结果,或者加上order by 是如何获取到正确结果的,是因为我们查询方式不正确造成的吗?

### What did you see instead?

这种查询结果我们目前无法理解

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

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

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

調査の方向性

まず、IoTDB 1.0.0 で SELECT クエリと、`order by time desc` および `order by timeseries desc` を使用するバリエーションを使って報告された動作を再現し、結果を添付された例と比較します。異なる結果が順序付けの問題によるものなのか、無効なクエリの想定によるものなのかを判断します。動作が説明され、誤っている場合はリグレッションテストでカバーされれば完了です。

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

評価

技術スタック
java, sql
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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