From 99cec8da586bea735365d895e663d449875f8598 Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:14:34 +0200 Subject: [PATCH] remove page ids (#19) --- definitions/output/all/reprocess_pages.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/definitions/output/all/reprocess_pages.js b/definitions/output/all/reprocess_pages.js index c3f9edf..f1a008e 100644 --- a/definitions/output/all/reprocess_pages.js +++ b/definitions/output/all/reprocess_pages.js @@ -261,7 +261,12 @@ SELECT SAFE.PARSE_JSON(lighthouse, wide_number_mode => 'round') AS lighthouse, features, technologies, - SAFE.PARSE_JSON(metadata, wide_number_mode => 'round') AS metadata + JSON_REMOVE( + SAFE.PARSE_JSON(metadata, wide_number_mode => 'round'), + '$.page_id', + '$.parent_page_id', + '$.root_page_id' + ) AS metadata FROM \`all.pages\` WHERE date = "${iteration.month}" AND