Skip to content

Commit ea7fb32

Browse files
authored
chore: update health score sink (CM-898) (#3729)
Signed-off-by: Joana Maia <[email protected]>
1 parent 1bcc434 commit ea7fb32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/libs/tinybird/pipes/health_score_sink.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ SQL >
55
segmentId,
66
slug,
77
if(isNaN(overallScore), null, overallScore) as overallScore,
8+
if(isNaN(securityPercentage), null, securityPercentage) as securityPercentage,
9+
if(isNaN(contributorPercentage), null, contributorPercentage) as contributorPercentage,
10+
if(isNaN(popularityPercentage), null, popularityPercentage) as popularityPercentage,
11+
if(isNaN(developmentPercentage), null, developmentPercentage) as developmentPercentage,
812
toStartOfDay(now()) as date
913
FROM health_score_copy_ds
1014

0 commit comments

Comments
 (0)