@haybarn/ext-datasketches-h1-5-4 202604.27.171638

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +63 -0
  2. package/package.json +41 -0
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/Query-farm-haybarn/.github/haybarn/profile/assets/haybarn-icon.png" alt="Haybarn" width="120" height="120">
3
+ </p>
4
+
5
+ # Haybarn extension: `datasketches`
6
+
7
+ By utilizing the Apache DataSketches library this extension can efficiently compute approximate distinct item counts and estimations of quantiles, while allowing the sketches to be serialized.
8
+
9
+ > **Source:** [https://github.com/query-farm/datasketches](https://github.com/query-farm/datasketches)
10
+ > **Catalog:** [Haybarn community extensions](https://github.com/Query-farm-haybarn/haybarn-community-extensions)
11
+
12
+ ## Install
13
+
14
+ ```sh
15
+ npm install @haybarn/ext-datasketches-h1-5-4
16
+ # or use the exact version:
17
+ npm install @haybarn/ext-datasketches-h1-5-4@202604.27.171638
18
+ ```
19
+
20
+ npm picks the matching platform binary from the leaves below via its `os` / `cpu` / `libc` fields. No postinstall scripts, no network calls after `npm install`.
21
+
22
+ ## Available platforms (this version)
23
+
24
+ Installed automatically by `npm install @haybarn/ext-datasketches-h1-5-4` (npm picks the one matching your `os`/`cpu`/`libc`):
25
+
26
+ - `@haybarn/ext-datasketches-h1-5-4-win32-x64`
27
+ - `@haybarn/ext-datasketches-h1-5-4-linux-x64`
28
+ - `@haybarn/ext-datasketches-h1-5-4-darwin-arm64`
29
+ - `@haybarn/ext-datasketches-h1-5-4-darwin-x64`
30
+ - `@haybarn/ext-datasketches-h1-5-4-linux-arm64`
31
+
32
+ ## WebAssembly (duckdb-wasm)
33
+
34
+ Also built for [duckdb-wasm](https://github.com/duckdb/duckdb-wasm). These are **not** installed by the meta above (npm has no wasm `os`/`cpu` to match) — install the variant matching your duckdb-wasm bundle (`mvp` / `eh` / `threads`) and point duckdb-wasm at the bundled asset:
35
+
36
+ - `@haybarn/ext-datasketches-h1-5-4-wasm-mvp`
37
+ - `@haybarn/ext-datasketches-h1-5-4-wasm-eh`
38
+ - `@haybarn/ext-datasketches-h1-5-4-wasm-threads`
39
+
40
+ ```sh
41
+ npm install @haybarn/ext-datasketches-h1-5-4-wasm-mvp
42
+ ```
43
+ ```js
44
+ import extUrl from '@haybarn/ext-datasketches-h1-5-4-wasm-mvp/bin/datasketches.duckdb_extension.wasm?url';
45
+ await conn.query(`INSTALL datasketches FROM '${extUrl}'`);
46
+ await conn.query(`LOAD datasketches`);
47
+ ```
48
+
49
+ ## Use it
50
+
51
+ Once installed, the `.duckdb_extension` binary lands in your project's `node_modules/` tree under the matching leaf. The [Haybarn](https://github.com/Query-farm-haybarn/haybarn) engine auto-discovers it at startup; from a Haybarn SQL session:
52
+
53
+ ```sql
54
+ LOAD datasketches;
55
+ ```
56
+
57
+ ## License
58
+
59
+ The `datasketches` extension is distributed under **MIT**. The Haybarn engine itself is MIT-licensed.
60
+
61
+ ## Trademark
62
+
63
+ Haybarn is an independent derived distribution of DuckDB published by [Query Farm LLC](https://query.farm). Not affiliated with or endorsed by the DuckDB Foundation. DuckDB is a trademark of the DuckDB Foundation.
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@haybarn/ext-datasketches-h1-5-4",
3
+ "version": "202604.27.171638",
4
+ "description": "By utilizing the Apache DataSketches library this extension can efficiently compute approximate distinct item counts and estimations of quantiles, while allowing the sketches to be serialized.",
5
+ "homepage": "https://github.com/query-farm/datasketches",
6
+ "bugs": {
7
+ "url": "https://github.com/query-farm/datasketches/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/Query-farm-haybarn/haybarn-community-extensions.git"
12
+ },
13
+ "license": "MIT",
14
+ "keywords": [
15
+ "haybarn",
16
+ "duckdb",
17
+ "extension",
18
+ "datasketches"
19
+ ],
20
+ "optionalDependencies": {
21
+ "@haybarn/ext-datasketches-h1-5-4-win32-x64": "202604.27.171638",
22
+ "@haybarn/ext-datasketches-h1-5-4-linux-x64": "202604.27.171638",
23
+ "@haybarn/ext-datasketches-h1-5-4-darwin-arm64": "202604.27.171638",
24
+ "@haybarn/ext-datasketches-h1-5-4-darwin-x64": "202604.27.171638",
25
+ "@haybarn/ext-datasketches-h1-5-4-linux-arm64": "202604.27.171638"
26
+ },
27
+ "haybarn": {
28
+ "built_at": "2026-06-17T18:09:14Z",
29
+ "ext_commit": "6186fc8e3a8c8d78b9d890fc0a264324d9cc1c7b",
30
+ "ext_version_label": "",
31
+ "extension": "datasketches",
32
+ "haybarn_version": "1.5.4",
33
+ "sha256": "see-leaf-packages-for-per-platform-sha256"
34
+ },
35
+ "files": [
36
+ "README.md"
37
+ ],
38
+ "publishConfig": {
39
+ "access": "public"
40
+ }
41
+ }