@haybarn/ext-duck_diff-h2-0-0 0.0.0-stage → 202610.23.233500
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.
- package/README.md +75 -2
- package/package.json +40 -4
package/README.md
CHANGED
|
@@ -1,3 +1,76 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://query.farm/products/haybarn/"><img src="https://raw.githubusercontent.com/Query-farm-haybarn/.github/haybarn/profile/assets/haybarn-icon.png" alt="Haybarn" width="120" height="120"></a>
|
|
3
|
+
</p>
|
|
4
|
+
<p align="center">
|
|
5
|
+
<a href="https://query.farm"><img src="https://query.farm/media-kit/logo/wordmark-light.png" alt="Query.Farm" height="28"></a>
|
|
6
|
+
</p>
|
|
2
7
|
|
|
3
|
-
|
|
8
|
+
# `duck_diff` — a Haybarn extension
|
|
9
|
+
|
|
10
|
+
**[Haybarn](https://query.farm/products/haybarn/)** is a derived distribution of DuckDB from [Query.Farm](https://query.farm): the same SQL, APIs and database files, with signed releases, rebuilt and signed extensions, engine improvements, and supply-chain review built in.
|
|
11
|
+
|
|
12
|
+
This package delivers the **`duck_diff`** community extension for Haybarn 2.0.0: built from upstream source, compiled against the Haybarn engine and signed with the Haybarn key. It is a single meta-package that resolves to the correct per-platform binary at install time.
|
|
13
|
+
|
|
14
|
+
> Diff two relations (tables, queries) off a primary key, reporting per-key status (identical/different/left_only/right_only), a JSON summary of changed columns, and per-column left/right values.
|
|
15
|
+
|
|
16
|
+
> **Source:** [https://github.com/avaitla/duck_diff](https://github.com/avaitla/duck_diff)
|
|
17
|
+
> **Catalog:** [Haybarn community extensions](https://github.com/Query-farm-haybarn/haybarn-community-extensions)
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npm install @haybarn/ext-duck_diff-h2-0-0
|
|
23
|
+
# or use the exact version:
|
|
24
|
+
npm install @haybarn/ext-duck_diff-h2-0-0@202610.23.233500
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
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`.
|
|
28
|
+
|
|
29
|
+
## Available platforms (this version)
|
|
30
|
+
|
|
31
|
+
Installed automatically by `npm install @haybarn/ext-duck_diff-h2-0-0` (npm picks the one matching your `os`/`cpu`/`libc`):
|
|
32
|
+
|
|
33
|
+
- `@haybarn/ext-duck_diff-h2-0-0-darwin-arm64`
|
|
34
|
+
- `@haybarn/ext-duck_diff-h2-0-0-linux-x64-musl`
|
|
35
|
+
- `@haybarn/ext-duck_diff-h2-0-0-linux-arm64-musl`
|
|
36
|
+
- `@haybarn/ext-duck_diff-h2-0-0-linux-arm64`
|
|
37
|
+
- `@haybarn/ext-duck_diff-h2-0-0-win32-x64`
|
|
38
|
+
- `@haybarn/ext-duck_diff-h2-0-0-linux-x64`
|
|
39
|
+
|
|
40
|
+
## WebAssembly (duckdb-wasm)
|
|
41
|
+
|
|
42
|
+
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:
|
|
43
|
+
|
|
44
|
+
- `@haybarn/ext-duck_diff-h2-0-0-wasm-threads`
|
|
45
|
+
- `@haybarn/ext-duck_diff-h2-0-0-wasm-eh`
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
npm install @haybarn/ext-duck_diff-h2-0-0-wasm-threads
|
|
49
|
+
```
|
|
50
|
+
```js
|
|
51
|
+
import extUrl from '@haybarn/ext-duck_diff-h2-0-0-wasm-threads/bin/duck_diff.duckdb_extension.wasm?url';
|
|
52
|
+
await conn.query(`INSTALL duck_diff FROM '${extUrl}'`);
|
|
53
|
+
await conn.query(`LOAD duck_diff`);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Use it
|
|
57
|
+
|
|
58
|
+
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:
|
|
59
|
+
|
|
60
|
+
```sql
|
|
61
|
+
LOAD duck_diff;
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
The `duck_diff` extension is distributed under **MIT**. The Haybarn engine itself is MIT-licensed.
|
|
67
|
+
|
|
68
|
+
## Links
|
|
69
|
+
|
|
70
|
+
- [Haybarn](https://query.farm/products/haybarn/) — what Haybarn is and how to install it
|
|
71
|
+
- [Installing extensions](https://query.farm/products/haybarn/extensions/install) — core and community extension channels
|
|
72
|
+
- [Haybarn engine source](https://github.com/Query-farm-haybarn/haybarn)
|
|
73
|
+
|
|
74
|
+
## Trademark
|
|
75
|
+
|
|
76
|
+
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
CHANGED
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haybarn/ext-duck_diff-h2-0-0",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "202610.23.233500",
|
|
4
|
+
"description": "Diff two relations (tables, queries) off a primary key, reporting per-key status (identical/different/left_only/right_only), a JSON summary of changed columns, and per-column left/right values.",
|
|
5
|
+
"homepage": "https://github.com/avaitla/duck_diff",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/avaitla/duck_diff/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
|
+
"duck_diff"
|
|
19
|
+
],
|
|
20
|
+
"optionalDependencies": {
|
|
21
|
+
"@haybarn/ext-duck_diff-h2-0-0-darwin-arm64": "202610.23.233500",
|
|
22
|
+
"@haybarn/ext-duck_diff-h2-0-0-linux-x64-musl": "202610.23.233500",
|
|
23
|
+
"@haybarn/ext-duck_diff-h2-0-0-linux-arm64-musl": "202610.23.233500",
|
|
24
|
+
"@haybarn/ext-duck_diff-h2-0-0-linux-arm64": "202610.23.233500",
|
|
25
|
+
"@haybarn/ext-duck_diff-h2-0-0-win32-x64": "202610.23.233500",
|
|
26
|
+
"@haybarn/ext-duck_diff-h2-0-0-linux-x64": "202610.23.233500"
|
|
27
|
+
},
|
|
28
|
+
"haybarn": {
|
|
29
|
+
"built_at": "2026-11-04T02:13:53Z",
|
|
30
|
+
"ext_commit": "00f636e5a62ee9ba508148d2493006e2ae1734e9",
|
|
31
|
+
"ext_version_label": "",
|
|
32
|
+
"extension": "duck_diff",
|
|
33
|
+
"haybarn_version": "2.0.0",
|
|
34
|
+
"sha256": "see-leaf-packages-for-per-platform-sha256"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
}
|
|
42
|
+
}
|