@gscdump/engine 0.35.2 → 0.35.3
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/resolver.mjs +0 -1
- package/dist/ingest.mjs +1 -1
- package/package.json +4 -4
|
@@ -282,7 +282,6 @@ function createSqlFragments(config) {
|
|
|
282
282
|
let col;
|
|
283
283
|
if (metric === "clicks") col = t.clicks;
|
|
284
284
|
else if (metric === "impressions") col = t.impressions;
|
|
285
|
-
else if (metric === "position") col = t.sum_position;
|
|
286
285
|
if (!col) continue;
|
|
287
286
|
const v = Number(f.expression);
|
|
288
287
|
switch (f.operator) {
|
package/dist/ingest.mjs
CHANGED
|
@@ -26,7 +26,7 @@ function toPath(gscUrl) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
function toSumPosition(apiPosition, impressions) {
|
|
29
|
-
return ((apiPosition >= 1 ? apiPosition : 1) - 1) *
|
|
29
|
+
return ((apiPosition >= 1 ? apiPosition : 1) - 1) * impressions;
|
|
30
30
|
}
|
|
31
31
|
function transformGscRow(table, apiRow, options = {}) {
|
|
32
32
|
const keys = apiRow.keys;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.35.
|
|
4
|
+
"version": "0.35.3",
|
|
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",
|
|
@@ -181,9 +181,9 @@
|
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"drizzle-orm": "1.0.0-rc.3",
|
|
183
183
|
"proper-lockfile": "^4.1.2",
|
|
184
|
-
"@gscdump/contracts": "0.35.
|
|
185
|
-
"@gscdump/lakehouse": "0.35.
|
|
186
|
-
"gscdump": "0.35.
|
|
184
|
+
"@gscdump/contracts": "0.35.3",
|
|
185
|
+
"@gscdump/lakehouse": "0.35.3",
|
|
186
|
+
"gscdump": "0.35.3"
|
|
187
187
|
},
|
|
188
188
|
"devDependencies": {
|
|
189
189
|
"@duckdb/duckdb-wasm": "^1.32.0",
|