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

Add multiple encoding test #579

Merged

Conversation

fionaliao
Copy link
Contributor

Add a test for when a series has samples with multiple encodings, including when the samples are out of order. Note that the behaviour is a bit weird when multiple encodings are committed together - float samples are always processed before histogram ones so sometimes histograms are marked as OOO when you might not expect them to be - see test comments for more details. I don't think this behaviour is worth changing as it shouldn't happen very often.

@carrieedwards carrieedwards force-pushed the cedwards/ooo-native-histograms branch 4 times, most recently from b02a0e9 to fab5b45 Compare January 9, 2024 20:35
@fionaliao fionaliao force-pushed the fl/add-multiple-encoding-tests branch from 46bbef3 to cf744ab Compare January 11, 2024 17:56
Copy link
Contributor

@carrieedwards carrieedwards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fionaliao fionaliao merged commit 67892bd into cedwards/ooo-native-histograms Jan 19, 2024
6 checks passed
@fionaliao fionaliao deleted the fl/add-multiple-encoding-tests branch January 19, 2024 10:38
fionaliao added a commit that referenced this pull request Jan 19, 2024
fionaliao added a commit that referenced this pull request Jan 23, 2024
fionaliao added a commit that referenced this pull request Feb 5, 2024
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.

2 participants