-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Flux stops reading results on first shard with no data #20035
Comments
Reproduced, investigating now... |
Strange data point: If I remove
The counts sum up to 80 |
@Techmaster21 I'm not sure if this is the only error, but I think part of the problem is that the headers in your CSVs are malformed, so the CSV->LP converter is dropping a lot of data before sending to - #group,FALSE,FALSE,TRUE,TRUE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE
+ #group FALSE,FALSE,TRUE,TRUE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE |
@danxmoran I tried that and got the following error when attempting to add the CSV to influx:
I would like to point out that the csv files I included are directly from the "download csv" button in the UI - with some simplification to find a more minimal case, but I never touched the headers. Furthermore, I have some new information that suggests this is unrelated to CSV issues or the existence of a duplicate timestamp.
You get all thirteen datapoints when running the following:
However if you add the following two datapoints to the same bucket
Then re-running the previous query results in only 2 datapoints. Also to note, my original issue was not occurring using line protocol or CSV files, but rather the Java client, but in the interest of providing a minimal example (and the fact that the results are consistent regardless of the means of entering the data), I converted it to a CSV |
Thanks for all the extra info, I'd better file an extra issue to either fix the CSV docs or fix the download logic 😓 I'll keep digging on this weird behavior |
|
Reproduced in the UI. Was also able to reproduce via the CLI if I used the right precision. |
Hi @Techmaster21, thanks for the report! For completeness, I want to clarify some details based on the tests.zip file.
I queried the data with Flux and then InfluxQL to reduce the likeliness that ingest is an issue. Flux query of
|
@Techmaster21 fix coming with PR #20064 |
Steps to reproduce:
influx write
Note that there are 80 records in this file spanning a year. Confirm that there are now 80 records in this measurement using the following queryExpected behavior:
When two records have the same timestamp and tags, I expect one to overwrite the other without affecting other measurements.
Actual behavior:
One overwrites the other, but then messes up data from other measurements.
Environment info:
The text was updated successfully, but these errors were encountered: