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 sorting batched data #5

Merged
merged 2 commits into from Mar 22, 2024
Merged

Fix sorting batched data #5

merged 2 commits into from Mar 22, 2024

Conversation

atimin
Copy link
Member

@atimin atimin commented Mar 22, 2024

Closes #

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Bug fix

What was changed?

The SDK sorted headers in a batched request as strings without considering their lengths. So timestamps [1, 2, 10] were sorted as [1, 10, 2] but it is not how the server sends the data. I've fixed the sorting by casting the timestamps into integers.

Related issues

No

Does this PR introduce a breaking change?

No

Other information:

@atimin atimin merged commit e72ec5a into main Mar 22, 2024
7 checks passed
@atimin atimin deleted the fix-sorting-batched-records branch March 22, 2024 14:30
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.

None yet

1 participant