-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multipartitions run length encoding error (#12329)
Seen here: https://app.datadoghq.com/apm/trace/3303427780901995569?spanID=13139862780265732778&spanViewType=errors This PR is mostly just snapshot updates and is hopefully fairly fast to review! The root cause is that the first dimension has no partitions. This can happen on an empty static partitions definition, or a time window partitions definition where the start time is in the future. This PR adds a check for this case, exiting early if the primary dimension has no partition keys. The run length encoding will still succeed if the secondary dimension has no partition keys.
- Loading branch information
1 parent
370093d
commit 8a42a96
Showing
6 changed files
with
18,091 additions
and
14,120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.