The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update v2_count.pipe
Kiran K92542f1a382b
diff --git a/packages/tinybird/pipes/v2_count.pipe b/packages/tinybird/pipes/v2_count.pipeindex 4ef9bd6d8c..2f8202fa93 100644--- a/packages/tinybird/pipes/v2_count.pipe+++ b/packages/tinybird/pipes/v2_count.pipe@@ -46,8 +46,8 @@ SQL >true{% if defined(linkId) %} AND link_id = {{ String(linkId) }} {% end %}{% if defined(customerId) %}- AND click_id IN (- SELECT DISTINCT click_id+ AND link_id IN (+ SELECT DISTINCT link_idFROM dub_lead_events_mvWHERE customer_id = {{ String(customerId) }})