Skip to content

Commit

Permalink
Initial draft for n_distinct calculation extension
Browse files Browse the repository at this point in the history
  • Loading branch information
anth0nyleung committed Nov 30, 2023
1 parent 8105f73 commit 28b11ec
Show file tree
Hide file tree
Showing 2 changed files with 439 additions and 0 deletions.
17 changes: 17 additions & 0 deletions examples/n_distinct_calculation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Calculating N-distinct elements

More details...

### Prerequisites
---
- [postgresql-hll](https://github.com/citusdata/postgresql-hll)

### Installation
---
To install the extension, run the [`n_distinct_calculation.sql`](https://github.com/aws/pg_tle/blob/main/examples/n_distinct_calculation/n_distinct_calculation.sql) file in the desired database

```sh
psql -d postgres -f n_distinct_calculation.sql
```

TODO
Loading

0 comments on commit 28b11ec

Please sign in to comment.