Skip to content

Commit d652882

Browse files
authored
feat: sink pipes for health_score and insights_projects_populated (#3592)
1 parent 53c6548 commit d652882

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
NODE health_score_select_fields
2+
SQL >
3+
4+
SELECT id, segmentId, slug, if (isNaN(overallScore), null, overallScore) as overallScore, toStartOfDay(now()) as date FROM health_score_copy_ds
5+
6+
TYPE sink
7+
EXPORT_SERVICE kafka
8+
EXPORT_CONNECTION_NAME lfx-oracle-kafka-streaming
9+
EXPORT_KAFKA_TOPIC health_score_sink
10+
EXPORT_SCHEDULE 30 0 * * *
11+
12+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
NODE insights_projects_select_fields
2+
SQL >
3+
4+
SELECT id, collectionsSlugs, name, slug, segmentId, softwareValue, toStartOfDay(now()) as date
5+
FROM insights_projects_populated_ds
6+
7+
TYPE sink
8+
EXPORT_SERVICE kafka
9+
EXPORT_CONNECTION_NAME lfx-oracle-kafka-streaming
10+
EXPORT_KAFKA_TOPIC insights_projects_populated_sink
11+
EXPORT_SCHEDULE 30 0 * * *
12+
13+

0 commit comments

Comments
 (0)