File tree Expand file tree Collapse file tree
services/libs/tinybird/pipes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 SELECT ar.organizationId, uniq(ar.memberId) AS activeContributors
2323 FROM activityRelations_deduplicated_cleaned_bucket_union ar
2424 INNER JOIN
25- org_page_kpis_code_activity_types at
26- ON ar.type = at.activityType
27- AND ar.platform = at.platform
25+ org_page_kpis_code_activity_types at ON ar.type = at.activityType AND ar.platform = at.platform
2826 WHERE
2927 ar.organizationId != ''
3028 AND ar.timestamp >= toStartOfDay(now() - toIntervalDay(730))
3937 SELECT ar.organizationId, uniq(ar.memberId) AS activeContributorsPrevious
4038 FROM activityRelations_deduplicated_cleaned_bucket_union ar
4139 INNER JOIN
42- org_page_kpis_code_activity_types at
43- ON ar.type = at.activityType
44- AND ar.platform = at.platform
40+ org_page_kpis_code_activity_types at ON ar.type = at.activityType AND ar.platform = at.platform
4541 WHERE
4642 ar.organizationId != ''
4743 AND ar.timestamp >= toStartOfDay(now() - toIntervalDay(1460))
You can’t perform that action at this time.
0 commit comments