-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch queries with one missing value lose other values #1137
Comments
Can anyone else confirm this bug? This seems like a major bug: batch queries unexpectedly return nil when they should not. I tried to include detailed steps to reproduce it--have they been insufficient? Thanks. |
I have also seen this issue. Additional Info: If you query for several fields, all fields after the missing field will not be reported. |
@leon-barrett This issue looks like it is a duplicate of #1294 which was fixed in the 1.30 release. Can you confirm that this issue has been fixed? |
Yeah, it seems to be fixed, thanks! (Though based on incident numbers, I'd argue which of the two issues is the duplicate :) ) |
Agreed :), glad its working. |
If I have a kapacitor batch query for two values and the first one is missing, the second one will also be missing. This seems like a major bug: Kapacitor queries from InfluxDB will unexpectedly fail to retrieve data!
Steps:
Insert InfluxDB data with values v1 missing and v2 present.
INSERT meas,t1=missing v2=2
Set up a Kapacitor batch query asking for values v1 and v2.
batch |query('SELECT v1, v2')
Expected result:
A value of v2=2 is retrieved.
Actual result:
No value is retrieved for v2.
Additional information:
If v2 is requested before v1, then the value v2=2 is retrieved.
batch |query('SELECT v2, v1')
Here is a bash script that demonstrates the issue, including setting up an InfluxDB database and a Kapacitor task. I am running InfluxDB v1.1.1 and Kapacitor v1.1.1 on OSX (installed via homebrew).
The text was updated successfully, but these errors were encountered: