apache / apache/iotdb

[Bug] Query error, An error occured within the plugin

オープン
#11,903 コメント 4 件 リアクション 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

IoTDB 1.2.2 Standalone
IoTDB Grafana Plugin 1.0 (Grafana interface)
Grafana 10.2.2

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

## Problem Description
When executing a SELECT LAST_VALUE(*) align by device query using grafana IoTDB plugin the query return an error. While the IoTDB CLI returns the expected and accurate results

# Grafana Explore Query
![Grafana_Query_Blurred](https://github.com/apache/iotdb/assets/126893672/b319b36d-9e55-48d0-8f73-8631578d4df3)

## also tried without the * on the SELECT Statement:

![Grafana_Query_AvoidingStar](https://github.com/apache/iotdb/assets/126893672/39dee605-32c8-4ed7-9ad0-3ae3aea5a948)

# IoTDB Cli
![IoTDB_Query_Blurried](https://github.com/apache/iotdb/assets/126893672/8fd54b2a-6e43-43b9-96a9-7a2324ef9268)

### What did you expect to see?

## Expected Behavior
The same table that IoTDB Cli return using the same syntax:

![IoTDB_Query_Blurried](https://github.com/apache/iotdb/assets/126893672/c92206bb-abcb-4c86-a2d5-8c3f4d0f0e6b)

### What did you see instead?

## Actual Behavior
Using this syntax on Grafana with the IoTDB plugin return "Query error, An error occured within the plugin"

### Anything else?

Also tried using DISTINCT Statment but nothing changed

The blurried part of the path are just for obscure sensitive data.

### Are you willing to submit a PR?

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

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

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

調査の方向性

まず、IoTDB Grafana Plugin を介して SELECT LAST_VALUE(*) align by device クエリを再現し、成功した IoTDB CLI の結果と比較します。指定されているソースファイル、テスト、スタックトレースはありません。完了の条件は、Grafana クエリがプラグインエラーではなく、同じ期待されるテーブルを返すことです。

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

評価

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

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

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