Skip to content

Int32 overflow in CountMinSketchWithHeap #532

Description

@akanksha-akkihal

Summary

On SUM / weighted aggregations, SketchDB returns 2147483647 (signed Int32 max) instead of the true total once counters exceed ~2.1B. Values clip rather than wrap or promote to a wider type, so large-window / high-rate runs silently under-report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions