@gscdump/cloudflare 0.19.4 → 0.19.7
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/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -96,6 +96,8 @@ function createDucklingsExecutor(env) {
|
|
|
96
96
|
}));
|
|
97
97
|
const merged = [];
|
|
98
98
|
for (const rows of perFile) merged.push(...rows);
|
|
99
|
+
const mergedBytes = estimateRowsBytes(merged);
|
|
100
|
+
if (mergedBytes > 28 * 1024 * 1024) throw new Error(`createDucklingsExecutor: placeholder {{${placeholder}}} decoded to ~${mergedBytes} bytes (${merged.length} rows), exceeding the 28MiB service-binding RPC budget. The rollup builder must window this query (chunk partitions) instead of scanning all files at once.`);
|
|
99
101
|
const tmp = tmpTableName(placeholder);
|
|
100
102
|
tempNames[placeholder] = tmp;
|
|
101
103
|
tables[tmp] = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/cloudflare",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.7",
|
|
5
5
|
"description": "Cloudflare-Workers-flavored helpers for the gscdump analytics stack: AnalyticsEnv binding contract, R2 SigV4 presigner, size-hint HMAC, DuckDB Workers shims, engine factory.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"aws4fetch": "^1.0.20",
|
|
43
|
-
"@gscdump/engine": "0.19.
|
|
44
|
-
"@gscdump/engine
|
|
43
|
+
"@gscdump/engine-sqlite": "0.19.7",
|
|
44
|
+
"@gscdump/engine": "0.19.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@cloudflare/workers-types": "^4.20260519.1",
|