influxdata / influxdata/influxdb

How to handle 2 tables returned, one valid, one with an error

Open
#17,355 0 comments 0 reactions 0 assignees View on GitHub
kind/enhancement team/ui
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

running this query on a similar dataset usually returns multiple tables, one with data and the other with an error.
```
from(bucket: "telegraf")
|> range(start: -1m)
|> group()
```
Here is the raw data returned:
[2020-03-19-10-45_chronograf_data.csv.zip](https://github.com/influxdata/influxdb/files/4356121/2020-03-19-10-45_chronograf_data.csv.zip)

The UI displays the data from the first table, but gives no indication to the user that there was an error returned.

As a user, when my query returns some data but also an error, I would like to be notified that an error was returned so i don't assume the data returned is complete.

Contributor guide

Open the contributing guide

Research direction

Reproduce the query against a similar dataset and inspect the attached raw CSV response to confirm that one table contains data while another contains an error. Trace how the UI handles multiple returned tables, then make completion visible when partial results include an error without hiding the valid data.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.