[Bug] Query error, An error occured within the plugin
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
### 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

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

# IoTDB Cli

### What did you expect to see?
## Expected Behavior
The same table that IoTDB Cli return using the same syntax:

### 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!
Contributor guide
Research direction
Start by reproducing the SELECT LAST_VALUE(*) align by device query through the IoTDB Grafana Plugin and compare it with the successful IoTDB CLI result. No source file, test, or stack trace is named; done means the Grafana query returns the same expected table instead of the plugin error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grafana, java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100