apache / apache/iotdb

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

Aperta
#11,903 4 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

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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo la query SELECT LAST_VALUE(*) align by device tramite IoTDB Grafana Plugin e confrontala con il risultato corretto di IoTDB CLI. Non viene indicato alcun file sorgente, test o stack trace; il lavoro è completato quando la query Grafana restituisce la stessa tabella prevista invece dell’errore del plugin.

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

Valutazione

Stack tecnologico
grafana, java
Ambito
databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.