Description
Proposal
Depends on #13486.
TBD define the semantics of doing binary arithmetic operations in case one side is a custom histogram and the other side is an exponential histogram or custom histogram with different bucket layout.
Update 2024.06.18. from the histograms sync meeting:
In case of binary operations when the two samples have incompatible bucket layouts (case 1: both have custom buckets , but the buckets don't match case 2: one has custom buckets, other is exponential histogram):
- the operation should produce no sample for that timestamp
- the operation should emit a warning saying that histogram layouts are incomaptible
Update 2024.07.29.:
PR #14464 was merged which adds test cases for the happy cases (schemas line up). Now the task would be to add test cases for irregular cases (custom buckets don't line up, custom buckets vs exponential buckets).
Update 2024.10.08:
PR #15086 adds a few more tests with compatible schema.