Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Feb 5, 2025

Fix a bug in TOP which surfaces when merging results from ordinals. We weren't always accounting for oversized arrays when checking if we'd ever seen a field. This changes the oversize itself to always size on a bucket boundary.

The test for this required random bucketSize - without that the oversizing frequently wouldn't cause trouble.

Fix a bug in TOP which surfaces when merging results from ordinals. We
weren't always accounting for oversized arrays when checking if we'd
ever seen a field. This changes the oversize itself to always size on a bucket boundary.

The test for this required random `bucketSize` - without that the
oversizing frequently wouldn't cause trouble.
@nik9000 nik9000 mentioned this pull request Feb 5, 2025
@nik9000 nik9000 merged commit 4d0b58b into elastic:9.0 Feb 5, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants