Skip to content
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

Fix batch upload after refactoring #734

Open
wants to merge 4 commits into
base: batch_upload
Choose a base branch
from

Conversation

tpwrules
Copy link

@tpwrules tpwrules commented Oct 5, 2024

Fixes the most important issue of multiple data points per request having been broken.

Also fixes some date sorting to correctly implement the protocol statement that "The result of sending a request with arrays of data points in a certain order shall be the same as sending an individual request for each data point in that same order (assuming the requests are sent serially and no errors are encountered)."

The non-measurement data does need to be removed to avoid the sampling
feature (which is always of length 1) triggering an error about an
unequal number of data points if more than 1 is passed.
Correctly find and use the latest data point instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant