@gscdump/engine 0.26.4 → 0.26.6
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/_chunks/engine.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { compactTieredImpl, dedupeOverlappingTiers, splitOverlappingTiers } from
|
|
|
4
4
|
import { compileLogicalQueryPlan, substituteNamedFiles } from "./parquet-plan.mjs";
|
|
5
5
|
import { sqlEscape } from "../sql-bind.mjs";
|
|
6
6
|
import { buildLogicalPlan } from "gscdump/query/plan";
|
|
7
|
-
import { normalizeUrl } from "gscdump";
|
|
7
|
+
import { normalizeUrl } from "gscdump/normalize";
|
|
8
8
|
async function encodeBytes(db, table, rows) {
|
|
9
9
|
const inName = db.makeTempPath("json");
|
|
10
10
|
const outName = db.makeTempPath("parquet");
|
|
@@ -3,8 +3,8 @@ import { enumeratePartitions } from "./compaction.mjs";
|
|
|
3
3
|
import { escapeLike } from "../sql-fragments.mjs";
|
|
4
4
|
import "../planner.mjs";
|
|
5
5
|
import { UnresolvableDatasetError, buildLogicalComparisonPlan, buildLogicalPlan, inferDataset as inferLogicalDataset, isDatasetResolvable } from "gscdump/query/plan";
|
|
6
|
-
import { normalizeUrl } from "gscdump";
|
|
7
6
|
import { PgDialect, pgTable, varchar } from "drizzle-orm/pg-core";
|
|
7
|
+
import { normalizeUrl } from "gscdump/normalize";
|
|
8
8
|
import { sql } from "drizzle-orm";
|
|
9
9
|
const DIMENSION_SURFACES = {
|
|
10
10
|
page: ["api", "stored"],
|
package/dist/adapters/node.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import { engineErrors } from "../errors.mjs";
|
|
|
2
2
|
import { createDuckDBCodec, createDuckDBExecutor, createStorageEngine } from "../_chunks/engine.mjs";
|
|
3
3
|
import { createNodeDuckDBHandle, resetNodeDuckDB } from "./duckdb-node.mjs";
|
|
4
4
|
import { createFilesystemDataSource, createFilesystemManifestStore } from "./filesystem.mjs";
|
|
5
|
-
import { encodeSiteId } from "gscdump";
|
|
6
5
|
import { err, ok, unwrapResult } from "gscdump/result";
|
|
7
6
|
import path from "node:path";
|
|
7
|
+
import { encodeSiteId } from "gscdump/tenant";
|
|
8
8
|
function createNodeHarness(opts) {
|
|
9
9
|
const dataDir = opts.dataDir;
|
|
10
10
|
const userId = opts.userId ?? "local";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.26.
|
|
4
|
+
"version": "0.26.6",
|
|
5
5
|
"description": "Append-only Parquet/DuckDB storage engine + planner + adapters for the gscdump pipeline. Node + edge runtimes; opt-in heavy peers.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -190,8 +190,8 @@
|
|
|
190
190
|
"drizzle-orm": "1.0.0-rc.3",
|
|
191
191
|
"icebird": "^0.8.8",
|
|
192
192
|
"proper-lockfile": "^4.1.2",
|
|
193
|
-
"@gscdump/contracts": "0.26.
|
|
194
|
-
"gscdump": "0.26.
|
|
193
|
+
"@gscdump/contracts": "0.26.6",
|
|
194
|
+
"gscdump": "0.26.6"
|
|
195
195
|
},
|
|
196
196
|
"devDependencies": {
|
|
197
197
|
"@duckdb/duckdb-wasm": "^1.32.0",
|