Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions services/libs/tinybird/pipes/health_score_sink.pipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
NODE health_score_select_fields
SQL >

SELECT id, segmentId, slug, if (isNaN(overallScore), null, overallScore) as overallScore, toStartOfDay(now()) as date FROM health_score_copy_ds

TYPE sink
EXPORT_SERVICE kafka
EXPORT_CONNECTION_NAME lfx-oracle-kafka-streaming
EXPORT_KAFKA_TOPIC health_score_sink
EXPORT_SCHEDULE 30 0 * * *


13 changes: 13 additions & 0 deletions services/libs/tinybird/pipes/insights_projects_populated_sink.pipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
NODE insights_projects_select_fields
SQL >

SELECT id, collectionsSlugs, name, slug, segmentId, softwareValue, toStartOfDay(now()) as date
FROM insights_projects_populated_ds

TYPE sink
EXPORT_SERVICE kafka
EXPORT_CONNECTION_NAME lfx-oracle-kafka-streaming
EXPORT_KAFKA_TOPIC insights_projects_populated_sink
EXPORT_SCHEDULE 30 0 * * *