From b91a22344c0f5def1e3410e29dc2ef7dc1819128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Grom?= Date: Mon, 12 Oct 2026 14:15:36 +0100 Subject: [PATCH] chore: remove the v1 health score Snowflake sink (IN-1222) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Delete health_score_sink.pipe. Its v2 fields are already exported by health_score_v2_sink. The live Tinybird pipe and its 00:30 schedule need `tb pipe rm health_score_sink` on production. Signed-off-by: Gašper Grom --- .../tinybird/pipes/health_score_sink.pipe | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 services/libs/tinybird/pipes/health_score_sink.pipe diff --git a/services/libs/tinybird/pipes/health_score_sink.pipe b/services/libs/tinybird/pipes/health_score_sink.pipe deleted file mode 100644 index aa6020bf7b..0000000000 --- a/services/libs/tinybird/pipes/health_score_sink.pipe +++ /dev/null @@ -1,27 +0,0 @@ -NODE health_score_select_fields -SQL > - SELECT - hs.id, - hs.segmentId, - hs.slug, - if(isNaN(hs.overallScore), null, hs.overallScore) as overallScore, - if(isNaN(hs.securityPercentage), null, hs.securityPercentage) as securityPercentage, - hs.securityCategoryPercentage, - if(isNaN(hs.contributorPercentage), null, hs.contributorPercentage) as contributorPercentage, - if(isNaN(hs.popularityPercentage), null, hs.popularityPercentage) as popularityPercentage, - if(isNaN(hs.developmentPercentage), null, hs.developmentPercentage) as developmentPercentage, - p.healthScoreV2 as overall_score_v2, - p.coveredCategoryCount as covered_category_count_v2, - p.healthMaxScore as health_max_score_v2, - p.healthLabel as health_label_v2, - toStartOfDay(now()) as date - FROM health_score_copy_ds AS hs - LEFT JOIN project_insights_copy_ds AS p ON hs.id = p.id AND p.type = 'project' - -TYPE SINK -EXPORT_SERVICE kafka -EXPORT_CONNECTION_NAME lfx-oracle-kafka-streaming -EXPORT_SCHEDULE 30 0 * * * -EXPORT_FORMAT csv -EXPORT_STRATEGY @new -EXPORT_KAFKA_TOPIC health_score_sink