citusdata / citusdata/postgresql-topn

Negative values

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
249
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Support for negative counters would be nice.
```
select topn_union('{"asd":-1}'::jsonb, '{"asd":2}'::jsonb)
select topn_add('{"asd":-1}'::jsonb, 'asd')
topn_union_agg(...)
```
They overflow now.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.