Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(expr): Implement approx_count_distinct for stream processing (#3121
) * Add approx_count_distinct * Add ApproxCountDistinct to AggKind * Add binding for approx_count_distinct * feat(expr): Made small optimizations and fix tests * feat(stream): Add approx_count_distinct to stream * feat(expr): Add support for deletion on Approx_count_distinct * feat(expr): Fix bug * feat(expr): Add some comments and fix issue with registers * feat(expr): Change number of registers and buckets, change count hash method * feat(expr): * Update number of registers in both batch and stream implementation of approx_count_distinct to 2^14 * Change storage of RegisterBucket * Add documentation of estimation error and # of rows that can be counted * Add error handling for register overflow and invalid registers * feat(expr): Adjust implementation of approx_distinct_count * Update number of registers in both batch and stream implementation of approx_count_distinct to 2^14 * Change storage of RegisterBucket * Add documentation of estimation error and # of rows that can be counted * Add error handling for register overflow and invalid registers * feat(expr): Change name from register to bucket * feat(expr): Add tests for RegisterBucket * feat(expr): Add tests for RegisterBucket
- Loading branch information