|
8 | 8 | memberId != '' |
9 | 9 | AND segmentId = (SELECT segmentId FROM segments_filtered) |
10 | 10 | AND channel NOT IN (SELECT channel FROM repos_to_channels_excluded) |
| 11 | + AND (type, platform) IN (SELECT activityType, platform FROM activityTypes_filtered) |
11 | 12 | {% if defined(repos) %} AND channel IN (SELECT channel FROM repos_to_channels) {% end %} |
12 | 13 | {% if defined(endDate) %} |
13 | 14 | AND timestamp >= toStartOfQuarter( |
|
31 | 32 | FROM activityRelations_deduplicated_cleaned_bucket_union |
32 | 33 | WHERE |
33 | 34 | memberId != '' AND channel NOT IN (SELECT channel FROM repos_to_channels_excluded) |
| 35 | + AND (type, platform) IN (SELECT activityType, platform FROM activityTypes_filtered) |
34 | 36 | {% if defined(endDate) %} |
35 | 37 | AND timestamp >= toStartOfQuarter( |
36 | 38 | parseDateTimeBestEffort( |
|
60 | 62 | memberId != '' |
61 | 63 | AND segmentId = (SELECT segmentId FROM segments_filtered) |
62 | 64 | AND channel NOT IN (SELECT channel FROM repos_to_channels_excluded) |
| 65 | + AND (type, platform) IN (SELECT activityType, platform FROM activityTypes_filtered) |
63 | 66 | {% if defined(endDate) %} |
64 | 67 | AND timestamp >= toStartOfQuarter( |
65 | 68 | parseDateTimeBestEffort( |
|
83 | 86 | FROM activityRelations_deduplicated_cleaned_bucket_union |
84 | 87 | WHERE |
85 | 88 | memberId != '' AND channel NOT IN (SELECT channel FROM repos_to_channels_excluded) |
| 89 | + AND (type, platform) IN (SELECT activityType, platform FROM activityTypes_filtered) |
86 | 90 | {% if defined(endDate) %} |
87 | 91 | AND timestamp >= toStartOfQuarter( |
88 | 92 | parseDateTimeBestEffort( |
|
0 commit comments