-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial draft for n_distinct calculation extension
- Loading branch information
1 parent
8105f73
commit 28b11ec
Showing
2 changed files
with
439 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.